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

Not running properly #6

Open
behnamprime opened this issue Aug 3, 2017 · 3 comments
Open

Not running properly #6

behnamprime opened this issue Aug 3, 2017 · 3 comments

Comments

@behnamprime
Copy link

Hello, When I run this code with:
python3 main.py -f 1 -p "began" -trd "celeba" -tro "crop" -trs 64 -z 128 -em 128 -fn 64 -b 16 -lr 1e-4 -gm 0.4 -g "0"
or any other configurations, it works till shuffle done and it stops!
any suggestion? did anyone else got same error?

@s-zk
Copy link

s-zk commented Aug 4, 2017

Create the folder "128_crop" under directory ./Data/celeba, then run ./Data/celeba/face_detect.py

Look at line 23 in file ./Data/celeba/face_detect.py,

            cv2.imwrite('128_crop/' + fn[:-4] + '_crop' + fn[-4:], image_resize)

This line means to save file under directory ./Data/celeba/128_crop, but if "128_crop" does not exist, there are no warnings, no errors, no exceptions. So create the folder and run "face_detect.py", you can see the cropped files generated in path "./Data/celeba/face_detect.py". It works in my case.

Good luck.

@jiyuay
Copy link

jiyuay commented Mar 8, 2019

@s-zk thank you so much! Have you figure out how to use the pretrained model?

@Phajuer
Copy link

Phajuer commented Apr 26, 2019

Hello, When I run this code with:
python3 main.py -f 1 -p "began" -trd "celeba" -tro "crop" -trs 64 -z 128 -em 128 -fn 64 -b 16 -lr 1e-4 -gm 0.4 -g "0"
or any other configurations, it works till shuffle done and it stops!
any suggestion? did anyone else got same error?

hi!Did you figure that out,i'm haveing the same problem

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

4 participants