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

Fix incompatibilities with the newest libraries #1120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix incompatibilities with the newest libraries #1120

wants to merge 1 commit into from

Conversation

Elijas
Copy link

@Elijas Elijas commented Dec 15, 2019

Running src/align/align_dataset_mtcnn.py from tutorial https://github.com/davidsandberg/facenet/wiki/Validate-on-LFW
Resulted in the error ValueError: Object arrays cannot be loaded when allow_pickle = False

This is what fixed it:

Errors that may be encountered during the execution of the last command
1.ValueError: Object arrays cannot be loaded when allow_pickle = False "Cause numpy version is not 1.16.2 Solution execution 
pip install numpy == 1.16.2
 
2.AttributeError: module 'scipy.misc' has no attribute 'imread' Cause The version of scipy is not 1.2.1 Solution execution   
pip install scipy == 1.2.1

Source: https://www.cnblogs.com/kristin-pig/p/11719692.html

Running tutorial https://github.com/davidsandberg/facenet/wiki/Validate-on-LFW
Resulted in the error ```ValueError: Object arrays cannot be loaded when allow_pickle = False```

This is what fixed it:
```
Errors that may be encountered during the execution of the last command
1.ValueError: Object arrays cannot be loaded when allow_pickle = False "Cause numpy version is not 1.16.2 Solution execution 
pip install numpy == 1.16.2
 
2.AttributeError: module 'scipy.misc' has no attribute 'imread' Cause The version of scipy is not 1.2.1 Solution execution   
pip install scipy == 1.2.1
```
Source: https://www.cnblogs.com/kristin-pig/p/11719692.html
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

Successfully merging this pull request may close these issues.

None yet

1 participant