'Load a static model in torch (version 1.11.0)
I tried to load a static model using torch.hub.load command with:
model = torch.hub.load(
repo_or_dir=code_folder_path,
model='custom',
path=model_path,
source='local',
verbose=True
)
In the latest version (1.11.0) the last message error is:
DEBUG | 2022-03-16 19:04:58,829 | PIL.TiffImagePlugin | tag: ExifIFD (34665) - type: long (4) - value: b'\xe2\x00\x00\x00'
In version 1.10.2 the model loading is done successfully.
How can I load the latest version of the model successfully?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
