Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:_pickle.UnpicklingError: pickle data was truncated #176

Open
zyh0904 opened this issue Jun 25, 2018 · 3 comments
Open

ERROR:_pickle.UnpicklingError: pickle data was truncated #176

zyh0904 opened this issue Jun 25, 2018 · 3 comments

Comments

@zyh0904
Copy link

zyh0904 commented Jun 25, 2018

hello , Thank you so much for sharing your work. But i had a problem running the code. The code that would have worked properly suddenly had the following problems when it was opened.

Traceback (most recent call last):
File "demo.py", line 228, in
tf.app.run()
File "E:\Anaconda\anaconda_install\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
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 "F:\KittiSeg\incl\tensorflow_fcn\fcn8_vgg.py", line 33, in init
self.data_dict = np.load(vgg16_npy_path, encoding='latin1').item()
File "E:\Anaconda\anaconda_install\lib\site-packages\numpy\lib\npyio.py", line 421, in load
pickle_kwargs=pickle_kwargs)
File "E:\Anaconda\anaconda_install\lib\site-packages\numpy\lib\format.py", line 647, in read_array
array = pickle.load(fp, **pickle_kwargs)
_pickle.UnpicklingError: pickle data was truncated

@zyh0904
Copy link
Author

zyh0904 commented Jun 25, 2018

or where can modify the image_iter ?

@raozhongyu
Copy link

Do you solve the problem

@zyh0904
Copy link
Author

zyh0904 commented Oct 9, 2018

yes.
My vgg16.m is damaged, I download another one... :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants