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

Question on how to use this for inference #47

Closed
Husky-AI9 opened this issue Feb 19, 2022 · 1 comment
Closed

Question on how to use this for inference #47

Husky-AI9 opened this issue Feb 19, 2022 · 1 comment

Comments

@Husky-AI9
Copy link

So i'm able to train my own model on a custom dataset, but had a hard time figuring own how to do inference on this. For example given a single image, how do I make it so that the result is the prediction of what class the image belong to and the confidence scores of the prediction .

@icoz69
Copy link
Owner

icoz69 commented Mar 24, 2022

hello, i would suggest you go through the eval.py and replace the dataloader with your own dataset. the output from the network is the predicted logits, and you can use argmix to obtain the predicted class.

@icoz69 icoz69 closed this as completed Mar 24, 2022
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