YOLOv4-pytorch
YOLOv4-pytorch copied to clipboard
_pickle.UnpicklingError: invalid load key, '\x00'.
执行训练的时候报了这个错怎么解决呢?环境:Pytorch1.5版本,ubuntu1604
network and pretrain weight unmatch
network and pretrain weight unmatch
MODEL_TYPE = { "TYPE": "Mobilenetv3-YOLOv4" } # YOLO type:YOLOv4, Mobilenet-YOLOv4 or Mobilenetv3-YOLOv4
我的配置如上,同时我创建的weight文件夹在项目下面,放入yolov4.weights和mobilenetv3.pth,依然抱错,如果我把TYPE换为YOLOV4,就报错如下:
Traceback (most recent call last):
File "train.py", line 357, in
So obviouslly yolov4 works but the mobilenet version don't. For the current error, label number don't match. Check your dataset setting. And try to debug yourself first. Tell us what you have done to fix this and fail and your thoughts.
请问这个问题解决了吗?怎么解决的?我也遇到了
请问这个问题解决了吗?怎么解决的?我也遇到了
检查下图片和标签是否都正确对应
@lilangyi 你好 我用mobilenet-yolov4出现了这个问题,然后改成yolov4就能正常训练,这是什么原因呢,望解惑,谢谢!
same problem。I only try to run torch.load(weights)... and the problem "_pickle.UnpicklingError: invalid load key, '\x00'. " is occured
I use the nvidia-docker, Ubuntu, torch1.6+cuda10.1. I guess it's a problem about docker env。