Open andrazvonar opened 4 years ago
I fixed the issue by adding allow_pickle=True
to np.load calls in get_nets.py. I can submit a pull request for this.
weights = np.load('mtcnn_pytorch/src/weights/pnet.npy',allow_pickle=True)[()]
I did the same but still get the error
weights = np.load('mtcnn_pytorch/src/weights/pnet.npy',allow_pickle=True)[()]
I did the same but still get the error Maybe you should try to downgrade your numpy version to
conda install numpy=1.16.2
or 1.16.1
Thank you for the response knightlibra
I was running the script in Google Colab, I refreshed the runtime and error was gone.
It seems the changes were not reflected in the same session. Closing the session and connecting again solved the issue.
weights = np.load('mtcnn_pytorch/src/weights/pnet.npy',allow_pickle=True)[()]
I did the same but still get the error
There are three places you need to modify.
I'm having a issue using the test_on_images Jupyter Notebook. I'm running into an issues with the np.load due to in not expecting a pickle object. Is there a workaround for this?