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

About GNN Re-ranking training program #20

Open
viet2411 opened this issue Oct 28, 2021 · 2 comments
Open

About GNN Re-ranking training program #20

viet2411 opened this issue Oct 28, 2021 · 2 comments

Comments

@viet2411
Copy link

Hello @layumi , thank you for your work

I was trying to reproduce the result in paper "Understanding Image Retrieval Re-Ranking: A Graph Neural Network Perspective" using your pytorch code, but I'm having some trouble in running the program.

The program needs "market_88_test.pkl" as input data for re-ranking process, but I don't understand how to generate it properly.

Could you give some advices on how to use this code?

Thank you and best regards.

@viet2411
Copy link
Author

Update:
I have found how the program works, but when I applied on University-1652 dataset, it returned CUDA out of memory error:

RuntimeError: CUDA out of memory. Tried to allocate 10.10 GiB (GPU 0; 11.91 GiB total capacity; 10.22 GiB already allocated; 667.00 MiB free; 10.31 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

It seems like the reranking process took too much memory.
Have you ever met this problem before? Could you give some advices to deal with this problem?
Thank you and best regards.

@layumi
Copy link
Owner

layumi commented Nov 18, 2021

@viet2411
You may try to set the half float, i.e., float 16.

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

No branches or pull requests

2 participants