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

Inference data preprocess #62

Open
TerenceChen95 opened this issue Jul 23, 2020 · 3 comments
Open

Inference data preprocess #62

TerenceChen95 opened this issue Jul 23, 2020 · 3 comments

Comments

@TerenceChen95
Copy link

Hello!

I'm confused about the inference procedure since no demo code were given.
Should I just input a gray image into the model or do things like normalization?
Looking for replies~

@xuwanyan1998
Copy link

hello there!
Did you get your own test code which you can use the trained mcnn to count the number of people in a picture given by yourself?
if you did,could you share any idea of this to me by repling this writing,it's very nice of you if do so!
appreciation sended

@TerenceChen95
Copy link
Author

@xuwanyan1998 it's pretty easy, just send the gray image into the model. The output is a gray map with values from 0-1. You can sum them up and get the estimated count :)

@xuwanyan1998
Copy link

very nice to have your reply,i'm a greenhand in using python,and coding,and this is my first project,so i'm tring to understand what the meaning of the code and files,but i will make more effort in coding ,thx a lot for repling me , it's also my first time surfing the github,maybe alittle bit late for learning skills,anyway,thx a lot,it's very cheerful!

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