You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run "python main.py", there are errors to me.
Traceback (most recent call last):
File "/home/wangjl/multimodal-emotion-recognition/main.py", line 50, in
model, parameters = generate_model(opt)
File "/home/wangjl/multimodal-emotion-recognition/model.py", line 13, in generate_model
model = multimodalcnn.MultiModalCNN(opt.n_classes, fusion = opt.fusion, seq_length = opt.sample_duration, pretr_ef=opt.pretrain_path, num_heads=opt.num_heads)
File "/home/wangjl/multimodal-emotion-recognition/models/multimodalcnn.py", line 171, in init
init_feature_extractor(self.visual_model, pretr_ef)
File "/home/wangjl/multimodal-emotion-recognition/models/multimodalcnn.py", line 107, in init_feature_extractor
checkpoint = torch.load(f, map_location=torch.device('cpu'))
File "/mnt/raid1/dataMapping/NLP/env/MER/lib/python3.9/site-packages/torch/serialization.py", line 608, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/mnt/raid1/dataMapping/NLP/env/MER/lib/python3.9/site-packages/torch/serialization.py", line 777, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: could not find MARK
The text was updated successfully, but these errors were encountered:
when I run "python main.py", there are errors to me.
Traceback (most recent call last):
File "/home/wangjl/multimodal-emotion-recognition/main.py", line 50, in
model, parameters = generate_model(opt)
File "/home/wangjl/multimodal-emotion-recognition/model.py", line 13, in generate_model
model = multimodalcnn.MultiModalCNN(opt.n_classes, fusion = opt.fusion, seq_length = opt.sample_duration, pretr_ef=opt.pretrain_path, num_heads=opt.num_heads)
File "/home/wangjl/multimodal-emotion-recognition/models/multimodalcnn.py", line 171, in init
init_feature_extractor(self.visual_model, pretr_ef)
File "/home/wangjl/multimodal-emotion-recognition/models/multimodalcnn.py", line 107, in init_feature_extractor
checkpoint = torch.load(f, map_location=torch.device('cpu'))
File "/mnt/raid1/dataMapping/NLP/env/MER/lib/python3.9/site-packages/torch/serialization.py", line 608, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/mnt/raid1/dataMapping/NLP/env/MER/lib/python3.9/site-packages/torch/serialization.py", line 777, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: could not find MARK
The text was updated successfully, but these errors were encountered: