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
Faild to run when using a folder of image for a person #9
Comments
It seems that it fails to detect the person in the folder. However, using one image will work without any problem. |
@acc557 Firstly, there must be a person in the source image. Also, what's the src_path in your script, and the |
@StevenLiuWen
to
The new folder contains more than one image from afan_6, and it crashes the code. |
I think the bug may be related to detecting the the front and back of the person. I tried the front and back image respectively and they both works fine when they are not given as a folder. Is it possible to bypass the detection and use a prefix or suffix in filename to specify the front or back? |
@acc557 , It seems that you rename the same src_path = "\"path?=/content/iPERCore/assets/samples/sources/afan_6/afan_6," \
"name?=afan_6," \
"bg_path?=/content/iPERCore/assets/samples/sources/afan_6/IMG_7217.JPG\"" |
I also tried this, but saw the same error. I also tired using my own images(only two), but the problem persists. |
@acc557, we can run it successfully with the |
It seems to work with the |
@acc557 Ok. It seems that when the preprocessing failed, (mostly happens with rename withe same project name, or the path does not exist), our system did not clean the In this commit, we add a clean folder function to clean the |
Thanks! It works great this time. :) I guess that colab did not sync the filesystem with the left browsing panel last time. |
The text was updated successfully, but these errors were encountered: