Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change torch.load to use the safer option of only loading weights. The torch.load function is hard coded to use the default value within the open_clip package. The code will set TORCH_FORCE_WEIGHTS_ONLY_LOAD environment variable to 'true' if not already set to override the default. Fixes #32
- Loading branch information