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

Using the models to predict on other Images #13

Closed
askppp opened this issue Mar 23, 2022 · 5 comments
Closed

Using the models to predict on other Images #13

askppp opened this issue Mar 23, 2022 · 5 comments

Comments

@askppp
Copy link

askppp commented Mar 23, 2022

Hi,

can i use the models under "bdd100k-models/det/" to make predictions on other images ?

When i followed the "Usage"-Section, it seems that the models can only be used to evaluate the Test/Val Images.

@sunny0414
Copy link

@askppp I also want to do this,but don't have the predict script.

@thomasehuang
Copy link
Collaborator

Hello, you can try using this script in MMDetection: https://github.com/open-mmlab/mmdetection/blob/master/demo/image_demo.py. Let me know if there are any further difficulties with this.

@askppp
Copy link
Author

askppp commented Mar 24, 2022

Hi again,
thanks, it worked.
@sunny0414 you have to download the script and then you can run like this:

python image_demo.py Path_Image_File Path_Config_File Path_Checkpoint_File(.pth)

Change the Paths according to your folders.

@askppp askppp closed this as completed Mar 24, 2022
@askppp askppp reopened this Mar 24, 2022
@pupu-chenyanyan
Copy link

@askppp oh yes,thanks you.

@thomasehuang
Copy link
Collaborator

@askppp Thanks for the help! I will update the READMEs sometime to add this.

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

4 participants