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

How do I use my own images for prediction? #4

Closed
shiangyoung opened this issue Jun 8, 2017 · 4 comments
Closed

How do I use my own images for prediction? #4

shiangyoung opened this issue Jun 8, 2017 · 4 comments

Comments

@shiangyoung
Copy link

Hello,

I was wondering if I could use my own images for prediction. I tried to run the test_snapshot.py. I'm looking for a result similar to #2 where the images are visualized. Could someone help me out?

Thank you.

@asanakoy
Copy link
Owner

asanakoy commented Jun 8, 2017

@shiangyoung just get the predictions out of the network and write a script for visualization.
You will ned to save predicted_joints . Yo can check evaluate_pcp() to see how predicted joints are calculated.

@asanakoy asanakoy closed this as completed Jun 8, 2017
@shiangyoung
Copy link
Author

Hi @asanakoy,

We are currently running some tests however the predicted joints that we receive back is inaccurate. Could I ask if we are required to annotate the images before using them for testing?

Thank you for your earlier feedback.

@asanakoy
Copy link
Owner

asanakoy commented Jun 9, 2017

@shiangyoung as I understood you right, for testing you need annotations only to get a PCP/PCKh score.
You need to train until the net converges.

@shiangyoung
Copy link
Author

Hi @asanakoy,

Yup, we are currently training and it has reached around 220k steps. From what I understand, it would then be possible to use our own image for prediction without any prior annotations? We are actually aiming to get a visualization of the prediction using our own image.

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