MarvinTeichmann / KittiSeg

A Kitti Road Segmentation model implemented in tensorflow.
MIT License
910 stars 403 forks source link

Trouble in running 'demo.py' #170

Open AromaticJ opened 6 years ago

AromaticJ commented 6 years ago

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?

HelloZEX commented 6 years ago

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

smallboy201613 commented 6 years ago

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

louxy126 commented 6 years ago

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