mhamilton723 / FeatUp

Official code for "FeatUp: A Model-Agnostic Frameworkfor Features at Any Resolution" ICLR 2024
MIT License
1.34k stars 79 forks source link

AttributeError: 'NoneType' object has no attribute 'start' #70

Closed jasshone closed 1 month ago

jasshone commented 1 month ago

Hello, I am suddenly getting a new error when I try to load the dinov2 model from torch hub, which is AttributeError: 'NoneType' object has no attribute 'start'.

Here is my code for reference:

dino = torch.hub.load("mhamilton723/FeatUp", 'dinov2', use_norm=use_norm).to(device)
dino_feats1 = dino(image_tensor1)
dino_feats2 = dino(image_tensor2)

Thanks!

jasshone commented 1 month ago

resolved, my xformers version was not the correct one for my torch version