KittiSeg icon indicating copy to clipboard operation
KittiSeg copied to clipboard

Trouble in running 'demo.py'

Open AromaticJ opened this issue 7 years ago • 3 comments

from seg_utils import seg_utils as seg ModuleNotFoundError: No module named 'seg_utils'

I have no idea about the model named 'seg_utils'. What does it indicate?

AromaticJ avatar May 28 '18 06:05 AromaticJ

I had the same problem, but it didn't affect the outcome

HelloZEX avatar Jun 05 '18 09:06 HelloZEX

For windows user, save the following code as install_windows.bat and put it in your KittiSeg folder, then run it as admin. Also please make sure you initialized all your submodules with git submodule update --init --recursive

del %~dp0\incl\evaluation del %~dp0\incl\seg_utils del %~dp0\incl\tensorflow_fcn del %~dp0\incl\tensorvision mklink /D %~dp0\incl\evaluation %~dp0\submodules\evaluation mklink /D %~dp0\incl\seg_utils %~dp0\submodules\evaluation\kitti_devkit mklink /D %~dp0\incl\tensorflow_fcn %~dp0\submodules\tensorflow-fcn mklink /D %~dp0\incl\tensorvision %~dp0\submodules\TensorVision\tensorvision echo ok pause image

It will create the symbolic links for you

smallboy201613 avatar Jun 20 '18 06:06 smallboy201613

Hi,@smallboy201613 i run the .bat,but when i python train.py or demo.py ,the problem is still there.

louxy126 avatar Oct 09 '18 02:10 louxy126