Fine-tune VIT model with BYOL method #601
              
                Unanswered
              
          
                  
                    
                      khawar-islam
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 2 comments
-
| @khawar512 moved to discussions, this isn't an issue with code here or a feat request. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
 In your case and in case of ViT, it should be  self.learner = BYOL(model, image_size=224, hidden_layer="norm") | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I am fine-tuning the dataset on VIT using the below line
model = timm.create_model('vit_base_resnet50_384', pretrained=True, num_classes=7)The accuracy is not that much good so I decided to integrate BYOL paper which is very easy to integrate with VIT.
https://github.com/lucidrains/byol-pytorch
Code
Traceback:
Beta Was this translation helpful? Give feedback.
All reactions