-
Notifications
You must be signed in to change notification settings - Fork 55
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 predict with a picture of myself? #6
Comments
There is no. Mat file in my own picture, so I removed the second path in 'paths', but there was an error next! |
I think that there is not a dedicated script for the prediction task. Can the authors provide us a script that accomplishes this task or at least give us some instructions to create it and contribute to the project ? |
Hello, |
You can try to use my fork : |
@vlad3996 not working.can you tell me what weights and what needs to be done,i get fllowing error -
|
after downlaoding wieghts mentioned in your readme -
|
@learnermaxRL the problem is with input image shape : it must be divisible by 16 because author concatenate feature maps from 3rd pooling layer and upsampled by nn.ConvTranspose2d maps from 4th pooling layer, which can not match by shape. |
If people are interested, i wrote some code to port the existing .pth weights into a keras version of the model, although it doesnt support batch predictions for now, only one, and i used the same NMS approach used in this repository, but if your goal is to just do prediction, it can be used Example of using the detection from the model is also supplied |
How to train other dataset in you fork? |
How do I get the count of people ? Does it return somewhere ? |
it is easily achievable by getting the length of the resulting array of detections |
|
@learnermaxRL how did you fix the error you were experiencing? |
@kaamlaS add |
@knightyxp Did you manage to get better results from this? |
No description provided.
The text was updated successfully, but these errors were encountered: