
踩坑长经验
xiaoxi___0818
这个作者很懒,什么都没留下…
展开
-
Pyinstaller打包错误解决--ui文件
打包命令:pyinstaller xx.py可能会出现以下错误,但是不要慌,报错了也会生成一个xx.spec文件,以下几种错误都可以通过修改xx.spec文件解决。然后:pyinstaller xx.spec1、RecursionError: maximum recursion depth exceeded。原因:可能是某个库或者函数递归次数太多了,超出限制。解决办法:在xx.spec中添加两行:import syssys.setrecursionlimit(5000)5000如果还报错的话原创 2020-05-22 11:47:08 · 2132 阅读 · 0 评论 -
错误解决:InvalidArgumentError : Inputs to operation gradients_1/AddN_39 of type _MklAddN must have the s
错误解决:InvalidArgumentError (see above for traceback): Inputs to operation gradients_1/AddN_39 of type _MklAddN must have the same size and shape. Input 0: [30,7,7,128] != input 1: [188160]我使用的tensorf...原创 2019-06-25 16:10:54 · 1291 阅读 · 4 评论