1.5 has type float, but expected one of: int, long ?
match08 opened this issue · comments
weismarts[微智] commented
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 commented
In python2 the /
operator is integer division. Use //
in python 3.