错误1:
RuntimeError: Unable to find a valid cuDNN algorithm to run convolution
解决:换了个 gpu 来跑就好了,之前的 gpu 被占用了
参考:https://stackoverflow.com/a/65979161
错误2:
cv2.imread 读取图片是遇到如下错误:
Corrupt JPEG data: xx extraneous bytes before marker 0xd9
原因:图片损坏
解决,用 cv2 保存下:
import cv2
filename = 'xx.jpg'
img = cv2.imread(filename)
cv2.imwrite('test.jpg' , img)
参考:https://github.com/tensorflow/models/issues/2194#issuecomment-427661393
或者把 报错的图像 删掉。
错误3:
fatal: unable to access xxx: Encountered end of
解决:许多人都说是代理的问题
我直接把当前仓库的 .git 删了。。。
sudo rm -r .git