MarvinTeichmann / KittiSeg

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

I have trouble in the 'demo.py' #161

Open xhy3054 opened 6 years ago

xhy3054 commented 6 years ago

Dear doctor Marvin Teichmann: Thanks for your pretty good work and share. However, when I want to run your code, There are some problems. And I can't find the way to solve it. When I run the 'demo.py', the error message are as following:

Traceback (most recent call last): File "demo.py", line 228, in tf.app.run() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 44, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "demo.py", line 148, in main image=image) File "incl/tensorvision/core.py", line 137, in build_inference_graph logits = modules['arch'].inference(hypes, image, train=False) File "RUNS/KittiSeg_pretrained/model_files/architecture.py", line 23, in inference vgg_fcn = fcn8_vgg.FCN8VGG(vgg16_npy_path=vgg16_npy_path) File "/home/xhy3054/KittiSeg/incl/tensorflow_fcn/fcn8_vgg.py", line 33, in init self.data_dict = np.load(vgg16_npy_path, encoding='latin1').item() File "/home/xhy3054/.local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 421, in load pickle_kwargs=pickle_kwargs) File "/home/xhy3054/.local/lib/python2.7/site-packages/numpy/lib/format.py", line 650, in read_array array = pickle.load(fp, **pickle_kwargs) EOFError

Thanks in advance~