Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

a problem during training decoder in train_ Decoder.py #3

Open
aqinofear opened this issue Mar 21, 2023 · 0 comments
Open

a problem during training decoder in train_ Decoder.py #3

aqinofear opened this issue Mar 21, 2023 · 0 comments

Comments

@aqinofear
Copy link

Dear Professor:
Sorry to be a bother. I am a student of XiDian University. I read your paper titled as "Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIP" and met a problem.
After I download your code and configure the environment, CLIP model, and dataset, I run train_ Decoder.py. when the model is trained for the second epoch, the calculation data from the previous training is not cleared and continues to occupy the CUDA memory, resulting in an error: CUDA out of memory.
So I wonder if there is a mistake I need to modify in the program, and I want to ask for the required graphics card capacity to successfully run the model training and testing programs.
I will be appreciated for your reply, thank you very much!

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

No branches or pull requests

1 participant