Closed chapayGhub closed 7 years ago
Hi. I'm happy you were able to get the code up and running.
The reason you had to make some changes to the source code in order to run is because you are using an older version of Tensorflow. But that shouldn't be a problem.
There are two reasons why Arnold didn't get transformed into Cinderella. First, your training only lasted 670 batches while for the example images I trained the network for 40,000 to 50,000 batches.
After that you also need to crop and align the face such that the eyes are aligned exactly in the same way as the training samples. To see how the eyes should be aligned you can open some of the training outputs that you get in the train
folder.
Woooow Thank you
My configuration: MacOs Siera 10.11.6 scipy 0.18.1 numpy 1.12.0 Pillow 4.0.0 TensorFlow v0.12.1
Do you use TensorFlow 1.0.0-rc0?
Yes, I used Tensorflow at commit 28f5099 to be exact.
I'm a newbie in deep learning and found your code very pretty to start dive ))) I found some problem to run next command:
python3.5 dm_main.py --run train
You can check my changes in this place: https://github.com/chapayGhub/deep-makeover/tree/feature/test
briefly: in several places
Yooo hooo as result I can started training now!!!
python3.5 dm_main.py --run train:
And we can run: python3 dm_main.py --run inference --infile ../test/arnold.schwarzenegger.jpg --outfile ../test/arnold.schwarzenegger.out.jpg
Don't worry Arnie isn't my boss ))). Only for testing!
And got result: arnold.schwarzenegger.jpg:
arnold.schwarzenegger.out.jpg:
So I have questions:
example_male_to_female.jpg
. What should i do?PS Thank you Your code very readable and moduled, it very help me!