File "/*/CURL/ImageNet/released_model/pruned_model.py", line 76, in __init__
index_list = list(np.load('index.npy'))
File "/opt/conda/lib/python3.8/site-packages/numpy/lib/npyio.py", line 439, in load
return format.read_array(fid, allow_pickle=allow_pickle,
File "/opt/conda/lib/python3.8/site-packages/numpy/lib/format.py", line 727, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
so setting line 76 of pruned_model.py to
index_list = list(np.load('index.npy', allow_pickle=True))
did the work.
Not sure if it is safe to do this though
so setting line 76 of pruned_model.py to
index_list = list(np.load('index.npy', allow_pickle=True))did the work.
Not sure if it is safe to do this though