-
Notifications
You must be signed in to change notification settings - Fork 925
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
Odd GPEN Error - 'mask_sharp' referenced before assignment #14
Comments
Sorry for the confusing error. |
Thanks for getting back to me, I bypassed that bit of code and ran into more errors. Eventually, I got an error telling me "a face wasn't detected". I didn't realize that was causing all the issues, thank you for telling me! In situations like this, what's the best course of action? A different source video? |
First you should check if there are any frames in your input video that don't have faces. You should cut out these clips. In some cases, even though the input video contains full faces, the pre-trained detector still fails to detect them. |
The source definitely has a face in every frame, but I think it may be face area proportion. I cropped the video quite a bit for my test and I'll bet that's why it's having trouble. Thanks so much for your help and fast response. This project is super exciting and I'm anticipating being blown away by my own results... as soon as I get an actual render. 😅 |
fix this bug: |
Where to write this line of code |
@PanJinquan Can you specify where to insert that piece of code? |
I cant see the temps ? |
Hi! If i'm using colab version - where should i put this? |
When running inference.py the following error occurs when Step 5 begins
What's likely the cause?
The text was updated successfully, but these errors were encountered: