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

Test code #5

Open
LachinZ opened this issue Apr 19, 2023 · 5 comments
Open

Test code #5

LachinZ opened this issue Apr 19, 2023 · 5 comments

Comments

@LachinZ
Copy link

LachinZ commented Apr 19, 2023

Can i have the test section?
Thank you!

@jhgan00
Copy link
Owner

jhgan00 commented Apr 22, 2023

Hello, I haven't created a separate test script. If you need code for performance measurement, please refer to the evaluate function in the engine.py script. If you need sample code for searching similar images, please refer to the following link.

https://colab.research.google.com/drive/14tv3FjR6RzJ6VsUjJiqguADSIo2Z4S90

@LachinZ
Copy link
Author

LachinZ commented May 26, 2023

hello, I ran the code, Is it training code or just using pre-trained weights to test?
I use Inshop dataset.

@jhgan00
Copy link
Owner

jhgan00 commented May 29, 2023

The colab notebook is a test code using trained weights.

@LachinZ
Copy link
Author

LachinZ commented May 30, 2023

The colab notebook is a test code using trained weights.

My question was about all codes(main.py,...)
Not about this colab

@jhgan00
Copy link
Owner

jhgan00 commented May 30, 2023

The main script trains the model first and test the trained model after training. If you want to only load the trained checkpoint and test your model, you can modify the main script to load trained checkpoint and comment out the part that calls the train function. Thanks.

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