-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
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
Using custom loss with VisionClassifierTrainer #40
Comments
Thanks @qanastek for the prompt response and its really an amazing library |
HugsVision isn't really suited for reasearch. But you can directly rewrite the Transformers class ViTForImageClassification for the In my opinion, it's the simplest way to do. Clone the Transformers repository, install it locally using |
I wanted to use a custom loss function with VIT how should I proceed since in the VisionClassifierTrainer there is no use of loss
The text was updated successfully, but these errors were encountered: