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
UnpicklingError Traceback (most recent call last) in <cell line: 9>() 7 # load model and prepare mask transform 8 device = "cuda" if torch.cuda.is_available() else "cpu" ----> 9 model, preprocess = alpha_clip.load("ViT-L/14", alpha_vision_ckpt_pth="clip_l14_grit20m_fultune_2xe.pth", device=device) # change to your own ckpt path 10 mask_transform = transforms.Compose([ 11 transforms.ToTensor(),
2 frames /usr/local/lib/python3.10/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, **pickle_load_args) 1256 "functionality.") 1257 -> 1258 magic_number = pickle_module.load(f, **pickle_load_args) 1259 if magic_number != MAGIC_NUMBER: 1260 raise RuntimeError("Invalid magic number; corrupt file?")
UnpicklingError: invalid load key, '<'.
The text was updated successfully, but these errors were encountered:
your model is incomplete, you need to checkout the file integrity
Sorry, something went wrong.
No branches or pull requests
UnpicklingError Traceback (most recent call last)
in <cell line: 9>()
7 # load model and prepare mask transform
8 device = "cuda" if torch.cuda.is_available() else "cpu"
----> 9 model, preprocess = alpha_clip.load("ViT-L/14", alpha_vision_ckpt_pth="clip_l14_grit20m_fultune_2xe.pth", device=device) # change to your own ckpt path
10 mask_transform = transforms.Compose([
11 transforms.ToTensor(),
2 frames
/usr/local/lib/python3.10/dist-packages/torch/serialization.py in _legacy_load(f, map_location, pickle_module, **pickle_load_args)
1256 "functionality.")
1257
-> 1258 magic_number = pickle_module.load(f, **pickle_load_args)
1259 if magic_number != MAGIC_NUMBER:
1260 raise RuntimeError("Invalid magic number; corrupt file?")
UnpicklingError: invalid load key, '<'.
The text was updated successfully, but these errors were encountered: