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

1.5 has type float, but expected one of: int, long ? #57

Open
match08 opened this issue Oct 31, 2019 · 1 comment
Open

1.5 has type float, but expected one of: int, long ? #57

match08 opened this issue Oct 31, 2019 · 1 comment

Comments

@match08
Copy link

match08 commented Oct 31, 2019

python3 gen_model.py error:

Exception has occurred: TypeError
1.5 has type float, but expected one of: int, long
File "/xxx/xxx/MobileNetv2-SSDLite/ssdlite/gen_model.py", line 307,

@fcakir
Copy link

fcakir commented May 1, 2020

In python2 the / operator is integer division. Use // in python 3.

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