-
-
Notifications
You must be signed in to change notification settings - Fork 635
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
Memory usage too much #15
Comments
You might apply filter on df based on gender. I mean that if you would like to find the one look-alike you and your gender is male, then discard female instances in the data frame. In this way, you can decrease the number of instances to the half.
Also, increasing the face score will decrease the number of instances as well.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried the
Find-Look-Alike-Celebrities.ipynb
on colab but ondf['pixels'] = df['full_path'].apply(getImagePixels)
this line give a memory error. Colab has 25gb memory.
How can I avoid that?
The text was updated successfully, but these errors were encountered: