![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
鲸鱼点点
这个作者很懒,什么都没留下…
展开
-
Linux 中出现的 -bash: syntax error near unexpected token `newline'问题解决
在命令端输入:python grad-cam.py <cat_dog.png>出现如下错误:bash: syntax error near unexpected token `newline'解决方法:'<'和'>'是特殊字符,命令端输入命令时应该把'<>'去掉。ps:本方法只可解决相似问题,如不能解决问题,抱歉没有帮到您,还需找其他方法。...翻译 2018-03-20 10:46:52 · 79328 阅读 · 3 评论 -
OSError:Unable to create file
出现错误:OSError:Unable to create file(unable to open file:name=‘filepath’,error massage=’input/output error’……)首先打开文件路径,新建一个文件或文件夹,如遇到无法新建的情况,检查该文件所在磁盘所剩空间,有可能是磁盘空间不足,删除一些不需要的文件,扩展磁盘空间,问题即可解决。...原创 2018-09-10 15:31:59 · 14358 阅读 · 8 评论 -
argument --learning_rate: conflicting option string: --learning_rate
argument --learning_rate: conflicting option string: --learning_rate出现上述问题,是因为代码已经运行过,变量名重复定义。解决方法:重新打开一个控制台,在新的控制台上运行代码,即可解决。...原创 2018-11-13 21:40:05 · 3515 阅读 · 0 评论