SysCV/pcan

Pretrained model

fxooooooooo opened this issue · 4 comments

dear author , this error occurred when I used the model you pprovided .

_pickle.UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified.

How should I solve it . What other models can I use.

lkeab commented

Hi, could you describe the errors in details with short-cut figures or more error information? I have not encountered this error before.

Hi,Unzip Your provided pretrained model will obtain a archive file,which cotain a data.pkl, when i use this .pkl file,occurred this error, it means that torch cannot read the .pkl file ,but when use the resnet50-19c8e357.pth to run tool/train.py without error.How should i use the archive folder.

lkeab commented

Hi, this is a .pth file for model weight. There is no .pkl file.

Hi, this is a .pth file for model weight. There is no .pkl file.

Thank you! My negligence and lack of knowledge led to this mistake. I solved the error under your guidance.