目录
报错:'NoneType' AttributeError: 'NoneType' object has no attribute 'shape'
pass和continue的区别:continue表示跳过后面的程序,重新循环,而pass表示站位,后面的代码(else之前)还是会执行
报错:TypeError: softmax() got an unexpected keyword argument 'axis'
报错:PackagesNotFoundError: The following packages are not available from current channels:
报错:Exception: could not broadcast input array from shape (38, 67, 18) into shape (1, 38, 67)
报错:Exception: 'a' cannot be empty unless no samples are taken
报错:SSH连接错误:packet_write_wait: Connection to 10.212.48.236 port 22: Broken pipe
报错:Linux服务器:cp: omitting directory
报错:Broken pipe packet_write_wait: Connection to 10.212.48.236 port 22: Broken pipe 训练时服务器中断
2018.3.19(二) 开始
参考网址,阿里云云栖社区翻译,faster-rcnn实现:
https://y..aliyun.com/articles/679245?utm_content=g_1000031076#
原文:
https://www.analyticsvidhya.com/blog/2018/11/implementation-faster-r-cnn-python-object-detection/#comment-157499
把xml转换成csv,在转换成txt,克隆github上的仓库,把自己的训练图像和测试图片放进去,运行。
报错:'NoneType' AttributeError: 'NoneType' object has no attribute 'shape'
解决:
根本就没有图像000006.png
在simple_parser.py上加一个判断
pass和continue的区别:continue表示跳过后面的程序,重新循环,而pass表示站位,后面的代码(else之前)还是会执行
报错:ValueError: Shape must be rank 1 but is rank 0 for 'bn_conv1/Reshape_4' (op: 'Reshape') with input shapes: [1,1,1,64], [].
解决:把版本降到2.2.0就好了,本来是2.2.4,
报错:TypeError: softmax() got an unexpected keyword argument 'axis'
解决:降低keras版本