Skip to content
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

Backward pass error during OWL-ViT finetuning #24525

Closed
2 of 4 tasks
pasqualedem opened this issue Jun 27, 2023 · 2 comments · Fixed by #24529
Closed
2 of 4 tasks

Backward pass error during OWL-ViT finetuning #24525

pasqualedem opened this issue Jun 27, 2023 · 2 comments · Fixed by #24529

Comments

@pasqualedem
Copy link
Contributor

System Info

Google Colab

Who can help?

@ArthurZucker
@amyeroberts

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

https://colab.research.google.com/drive/1GfspAHLGTMmzfNShAVebzM04s32q1LKb?usp=sharing

Expected behavior

I was trying to finetune Owl-ViT, and I came across this backward pass error. I investigated and found out that the error is the operator "/=" which does an inplace operation.
At lines:

@ydshieh
Copy link
Collaborator

ydshieh commented Jun 27, 2023

@pasqualedem

Would you like to open a PR to fix it ? 🤗

@Pro-flynn
Copy link

Could you share your scripts for owlvit finetuning? Thanks @pasqualedem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants