-
Notifications
You must be signed in to change notification settings - Fork 209
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 while executing the code #18
Comments
Try to roll back the version of numpy, such as version 1.16.2. |
same problem |
uninstall scikit-learn. uninstall numpy. install numpy==1.16.2. re-install scikitlearn. BANG ! |
it worked, thank you |
another way to solve this : should change to |
File "start.py", line 176, in
main()
File "start.py", line 41, in main
pnet, rnet, onet = detect_face.create_mtcnn(sess, os.path.join(project_dir, "align"))
File ".\align\detect_face.py", line 290, in create_mtcnn
pnet.load(os.path.join(model_path, 'det1.npy'), sess)
File ".\align\detect_face.py", line 88, in load
data_dict = np.load(data_path, encoding='latin1').item()
File "conda\envs\skellam\lib\site-packages\numpy\lib\npyio.py", line 453, in load
pickle_kwargs=pickle_kwargs)
File ".conda\envs\skellam\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
The text was updated successfully, but these errors were encountered: