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

i have this error #21

Open
OoAnikioO opened this issue Mar 4, 2022 · 2 comments
Open

i have this error #21

OoAnikioO opened this issue Mar 4, 2022 · 2 comments

Comments

@OoAnikioO
Copy link

OoAnikioO commented Mar 4, 2022

in colab

error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'resize'

@StephenHnilica
Copy link

I have the same error.

@BillarySquintin
Copy link

Ok I've figured out the solution. This issue is related to the files not being able to be retrieved from Google Drive.

In the "Download models" cell, you have to make a shortcut of the models in your own GDrive and copy them into their respective folders in the Colab instance storage.

The missing model that's causing this issue is the last one in that cell, https://drive.google.com/uc?id=1vwm4BcAKISQgcJLvTUcvesk73UIYdDMF. Because that model isn't available, the faces can't be parsed & there's no image for OpenCV to resize.

You have to copy that model to "Time-Travel-Rephotography/third_party/face_parsing/res/cp/"

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

No branches or pull requests

3 participants