change python3 to python2
13070151771 opened this issue · comments
13070151771 commented
after i change code to python2.when i run infer_simple,the ZeroDivisionError: float division by zero happens in rpn_head.py lin48 :stride=1. / spatial_scale.but spatial_scale shouldnt be zero,and i python3 everything is ok.what can i do?
i change collections to collections1 and logging to logging1 because absolute import doesnt work.and i have changed super and imported future.divesion