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

Object arrays cannot be loaded when allow_pickle=False #27

Open
garimss opened this issue Aug 15, 2019 · 0 comments
Open

Object arrays cannot be loaded when allow_pickle=False #27

garimss opened this issue Aug 15, 2019 · 0 comments

Comments

@garimss
Copy link

garimss commented Aug 15, 2019

I m getting below error when trying to run train.py

Traceback (most recent call last):
File "train.py", line 190, in
main(sys.argv)
File "train.py", line 177, in main
train(dataset_train, dataset_val, FLAGS.weights, FLAGS.caffemodel)
File "train.py", line 84, in train
model.load_alexnet_to_mvcnn(sess, caffemodel)
File "D:\git_hub\MVCNN-TensorFlow\model.py", line 176, in load_alexnet_to_mvcnn
caffemodel = np.load(caffetf_modelpath)
File "C:\Users\Garima\Anaconda3\envs\pytorch_new\lib\site-packages\numpy\lib\npyio.py", line 453, in load
pickle_kwargs=pickle_kwargs)
File "C:\Users\Garima\Anaconda3\envs\pytorch_new\lib\site-packages\numpy\lib\format.py", line 722, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False

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

1 participant