Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_pickle.UnpicklingError: invalid load key, '<' #4

Open
vinodkkurmi opened this issue Apr 6, 2020 · 0 comments
Open

_pickle.UnpicklingError: invalid load key, '<' #4

vinodkkurmi opened this issue Apr 6, 2020 · 0 comments

Comments

@vinodkkurmi
Copy link

HI @milhidaka I am getting the following error
Traceback (most recent call last):
File "../main/main.py", line 90, in
num_classes=source_train.dataset.dataset.num_class, num_domains=disc_dim, pretrained=True)
File "../util/util.py", line 72, in get_network_fn
return nets_map[name]train
File "../model/caffenet.py", line 66, in caffenet
state_dict = torch.load("alexnet_caffe.pth.tar", map_location=lambda storage, loc: storage, pickle_module=pickle)
File "/home/vinodkk/miniconda2/envs/dg/lib/python3.6/site-packages/torch/serialization.py", line 358, in load
return _load(f, map_location, pickle_module)
File "/home/vinodkk/miniconda2/envs/dg/lib/python3.6/site-packages/torch/serialization.py", line 532, in _load
magic_number = pickle_module.load(f)
_pickle.UnpicklingError: invalid load key, '<'.
PACS/default/art1
path ../../../../../dataset/result/dg_mmld/PACS/default/art1


Source domain: photo, cartoon, sketch, Target domain: art_painting
Train: 7148, Val: 795, Test: 2048
args.model caffenet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant