We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi I am trying to run inference but getting this error: can you please help me fix it? thank you in advance
command: # inference !python inference/inference_dfdnet.py --upscale_factor 1 --test_path datasets/upload/ --official_adaption True
Traceback (most recent call last): File "/content/BasicSR/inference/inference_dfdnet.py", line 114, in net = DFDNet(64, dict_path=args.dict_path).to(device) File "/content/BasicSR/basicsr/archs/dfdnet_arch.py", line 77, in init self.dict = torch.load(dict_path) File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1040, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1262, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '<'.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
I am trying to run inference but getting this error:
can you please help me fix it? thank you in advance
command: # inference
!python inference/inference_dfdnet.py --upscale_factor 1 --test_path datasets/upload/ --official_adaption True
Traceback (most recent call last):
File "/content/BasicSR/inference/inference_dfdnet.py", line 114, in
net = DFDNet(64, dict_path=args.dict_path).to(device)
File "/content/BasicSR/basicsr/archs/dfdnet_arch.py", line 77, in init
self.dict = torch.load(dict_path)
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1040, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1262, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
_pickle.UnpicklingError: invalid load key, '<'.
The text was updated successfully, but these errors were encountered: