voxelnet icon indicating copy to clipboard operation
voxelnet copied to clipboard

ModuleNotFoundError: No module named 'utils.box_overlaps'

Open Huizhaoaaaa opened this issue 4 years ago • 3 comments

When I run the train.py, the following error appears: Traceback (most recent call last):

File "E:\voxelnet-master\train.py", line 14, in from model import RPN3D

File "E:\voxelnet-master\model_init_.py", line 12, in from model.model import *

File "E:\voxelnet-master\model\model.py", line 12, in from utils import *

File "E:\voxelnet-master\utils_init_.py", line 10, in from utils.box_overlaps import *

ModuleNotFoundError: No module named 'utils.box_overlaps' the utils folder contains "box_overlaps.c" and "box_overlaps.pyx" image

Huizhaoaaaa avatar Jun 16 '20 08:06 Huizhaoaaaa

This model isn't working correctly in Windows, try using Linux or WSL2.

kasai2210 avatar Jan 13 '21 07:01 kasai2210

i have the same question, there is box_overlaps.c instead of box_overlaps.py, what can i do?

miaozujia avatar Oct 20 '22 12:10 miaozujia

You can add at the beginning of the code import pyximport pyximport.install()

cui19981127 avatar May 15 '23 02:05 cui19981127