Traceback (most recent call last):
File "/Users/liuchunyu/Downloads/SimSwap-main/test_wholeimage_swapsingle.py", line 37, in
model = create_model(opt)
File "/Users/liuchunyu/Downloads/SimSwap-main/models/models.py", line 18, in create_model
model.initialize(opt)
File "/Users/liuchunyu/Downloads/SimSwap-main/models/fs_model.py", line 64, in initialize
netArc_checkpoint = torch.load(netArc_checkpoint, map_location=torch.device('cpu'))
File "/Users/liuchunyu/Documents/data/pythonenv/faceswap/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 "/Users/liuchunyu/Documents/data/pythonenv/faceswap/lib/python3.9/site-packages/torch/serialization.py", line 794, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: storage has wrong size: expected -7082037704977806789 got 4096
netArc_checkpoint = torch.load(netArc_checkpoint, map_location=torch.device('cpu'))
Traceback (most recent call last):
File "/Users/liuchunyu/Downloads/SimSwap-main/test_wholeimage_swapsingle.py", line 37, in <module>
model = create_model(opt)
File "/Users/liuchunyu/Downloads/SimSwap-main/models/models.py", line 18, in create_model
model.initialize(opt)
File "/Users/liuchunyu/Downloads/SimSwap-main/models/fs_model.py", line 64, in initialize
netArc_checkpoint = torch.load(netArc_checkpoint, map_location=torch.device('cpu'))
File "/Users/liuchunyu/Documents/data/pythonenv/faceswap/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 "/Users/liuchunyu/Documents/data/pythonenv/faceswap/lib/python3.9/site-packages/torch/serialization.py", line 794, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: storage has wrong size: expected -7082037704977806789 got 4096
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
netArc_checkpoint = torch.load(netArc_checkpoint, map_location=torch.device('cpu'))
Traceback (most recent call last):
File "/Users/liuchunyu/Downloads/SimSwap-main/test_wholeimage_swapsingle.py", line 37, in
model = create_model(opt)
File "/Users/liuchunyu/Downloads/SimSwap-main/models/models.py", line 18, in create_model
model.initialize(opt)
File "/Users/liuchunyu/Downloads/SimSwap-main/models/fs_model.py", line 64, in initialize
netArc_checkpoint = torch.load(netArc_checkpoint, map_location=torch.device('cpu'))
File "/Users/liuchunyu/Documents/data/pythonenv/faceswap/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 "/Users/liuchunyu/Documents/data/pythonenv/faceswap/lib/python3.9/site-packages/torch/serialization.py", line 794, in _legacy_load
deserialized_objects[key]._set_from_file(f, offset, f_should_read_directly)
RuntimeError: storage has wrong size: expected -7082037704977806789 got 4096