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

Predict an image #1

Open
haringsrob opened this issue Feb 7, 2022 · 1 comment
Open

Predict an image #1

haringsrob opened this issue Feb 7, 2022 · 1 comment

Comments

@haringsrob
Copy link

Hi,

How can this be used to predict from an image taken by me?

Kind regards

@chadha-sridi
Copy link

Hi,
This is what I did to run it on my images:
1/First add a "configuration file" for your images in deep-darts/configs (one similar to the 2 yaml files already there)
2/Then you need annotate your images by running the annotate.py this will create the labels (you might have to put them in a specific directory: see what you get from the error message).
This will create the true "labels" for your images.
3/ make sure to comment the assert line in dataloader.py (asserts the dataset is either d1 or d2) and add a line to handle your data.
In predict.py also handle the case for your own config by setting your own value for the labels_path
4/Then you run the predict.py on your images

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