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

Not able to get demonstrated output #6

Open
wowgic opened this issue Jul 11, 2020 · 5 comments
Open

Not able to get demonstrated output #6

wowgic opened this issue Jul 11, 2020 · 5 comments
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed

Comments

@wowgic
Copy link

wowgic commented Jul 11, 2020

Hi Bhadresh,

Using the "detector.py" for inference only with same image files as yours, I could not able to get the desired out like yours. I get below error message. It works only if the class file has one class name. But out is not desired. Please help

ValueError: Dimension 0 in both shapes must be equal, but are 1 and 18. Shapes are [1,1,1024,30] and [18,1024,1,1]. for 'Assign_360' (op: 'Assign') with input shapes: [1,1,1024,30], [18,1024,1,1].
Detected Cat Faces in 14.0 seconds

@bhadreshpsavani
Copy link
Owner

Hi @wowgic ,
I am able to reproduce it, I will work on it this week and try to fix it.
Thanks for letting me know

@bhadreshpsavani
Copy link
Owner

Hi @wowgic
I have fixed the issue,
Let me know if it still persists

@wowgic
Copy link
Author

wowgic commented Aug 8, 2020 via email

@b0unc3
Copy link

b0unc3 commented Sep 22, 2020

Hi,

I'm getting the same error as reported before.

ValueError: Dimension 0 in both shapes must be equal, but are 1 and 18. Shapes are [1,1,1024,30] and [18,1024,1,1]. for 'Assign_360' (op: 'Assign') with input shapes: [1,1,1024,30], [18,1024,1,1].

Any hint on how to fix this?
Thanks.

@bhadreshpsavani bhadreshpsavani added bug Something isn't working help wanted Extra attention is needed hacktoberfest labels Oct 4, 2020
@bhadreshpsavani
Copy link
Owner

Hi @b0unc3,
The issue has been fixed! It was coming because pre-trained model weights were not available in the Github repository due to size limit.
Model weights are downloadable using the download script.
The weights can be also downloaded directly from this drive link.
Please let me know if it works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants