Hello everyone. When I run this command:
python3 train_condition.py --cuda True --gpu_ids 0 --Ddownx2 --Ddropout --lasttvonly --interflowloss --occlusion
I get this error:
File "train_condition.py", line 498, in
main()
File "train_condition.py", line 489, in main
train(opt, train_loader, val_loader, test_loader, board, tocg, D)
File "train_condition.py", line 122, in train
criterionVGG = VGGLoss(opt)
File "/home/tookai/zahra-h/Projects/complete-VITON (copy)/networks.py", line 239, in init
self.vgg = Vgg19()
File "/home/tookai/zahra-h/Projects/complete-VITON (copy)/networks.py", line 205, in init
vgg_pretrained_features = models.vgg19(pretrained=True).features
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/_utils.py", line 142, in wrapper
return fn(*args, *kwargs)
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/_utils.py", line 228, in inner_wrapper
return builder(args, kwargs)
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/vgg.py", line 460, in vgg19
return _vgg("E", False, weights, progress, kwargs)
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/vgg.py", line 105, in _vgg
model.load_state_dict(weights.get_state_dict(progress=progress))
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/_api.py", line 63, in get_state_dict
return load_state_dict_from_url(self.url, progress=progress)
File "/home/tookai/.local/lib/python3.8/site-packages/torch/hub.py", line 731, in load_state_dict_from_url
return torch.load(cached_file, map_location=map_location)
File "/home/tookai/.local/lib/python3.8/site-packages/torch/serialization.py", line 713, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/tookai/.local/lib/python3.8/site-packages/torch/serialization.py", line 938, in _legacy_load
typed_storage._storage._set_from_file(
RuntimeError: unexpected EOF, expected 98300 more bytes. The file might be corrupted.
Hello everyone. When I run this command: python3 train_condition.py --cuda True --gpu_ids 0 --Ddownx2 --Ddropout --lasttvonly --interflowloss --occlusion
I get this error:
File "train_condition.py", line 498, in
main()
File "train_condition.py", line 489, in main
train(opt, train_loader, val_loader, test_loader, board, tocg, D)
File "train_condition.py", line 122, in train
criterionVGG = VGGLoss(opt)
File "/home/tookai/zahra-h/Projects/complete-VITON (copy)/networks.py", line 239, in init
self.vgg = Vgg19()
File "/home/tookai/zahra-h/Projects/complete-VITON (copy)/networks.py", line 205, in init
vgg_pretrained_features = models.vgg19(pretrained=True).features
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/_utils.py", line 142, in wrapper
return fn(*args, *kwargs)
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/_utils.py", line 228, in inner_wrapper
return builder(args, kwargs)
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/vgg.py", line 460, in vgg19
return _vgg("E", False, weights, progress, kwargs)
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/vgg.py", line 105, in _vgg
model.load_state_dict(weights.get_state_dict(progress=progress))
File "/home/tookai/.local/lib/python3.8/site-packages/torchvision/models/_api.py", line 63, in get_state_dict
return load_state_dict_from_url(self.url, progress=progress)
File "/home/tookai/.local/lib/python3.8/site-packages/torch/hub.py", line 731, in load_state_dict_from_url
return torch.load(cached_file, map_location=map_location)
File "/home/tookai/.local/lib/python3.8/site-packages/torch/serialization.py", line 713, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/home/tookai/.local/lib/python3.8/site-packages/torch/serialization.py", line 938, in _legacy_load
typed_storage._storage._set_from_file(
RuntimeError: unexpected EOF, expected 98300 more bytes. The file might be corrupted.