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

model path #48

Open
namemute opened this issue Dec 17, 2024 · 4 comments
Open

model path #48

namemute opened this issue Dec 17, 2024 · 4 comments

Comments

@namemute
Copy link

Hello author, I have finished running the model, but did not find the generated model file, will the code generate the model file? Such as "xxx.pth"
捕获
捕获1

@zaibrua
Copy link

zaibrua commented Dec 17, 2024

Hello, could you please tell me the configuration of your computer? There will be an error when I use 3090Ti to reproduce, I am not sure if there is a problem with my configuration

@VlSomers
Copy link
Owner

Hello @namemute, if you want to save the model ".pth" file, you should use the configuration "cfg.model.save_model_flag=True" (Have a look at all available configs inside torchreid/scripts/default_config.py). @zaibrua you should maybe try to use a smaller backbone or a bigger GPU.

@namemute
Copy link
Author

Hello, could you please tell me the configuration of your computer? There will be an error when I use 3090Ti to reproduce, I am not sure if there is a problem with my configuration

4090, but I change batch_size from 64 to 32

@namemute
Copy link
Author

Hello @namemute, if you want to save the model ".pth" file, you should use the configuration "cfg.model.save_model_flag=True" (Have a look at all available configs inside torchreid/scripts/default_config.py). @zaibrua you should maybe try to use a smaller backbone or a bigger GPU.

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

3 participants