EAST 复现pytorch 新手踩坑记录(自存用)
一个刚上手的小白的学习记录-------
-
dataloader报错 TypeError: function takes exactly 5 arguments (1 given)
解决:将 num_wokers 设为 0 -
UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xbf in position 2: illegal multibyte sequence
解决:将原代码f=open(file_new,‘r’)改为f=open(file_new,‘r’, encoding=‘UTF-8’) -
下载预训练好的模型
解决:https://github.com/pytorch/vision/tree/master/torchvision/models/detection中有常用的模型,如VGG16等,找到所需模型的对应网址即可下载pth文件(VGG16包括BN版和不加BN版,使用时注意) -
handbook
pytorch handbook -
未解决