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

Correct paths and imports for step 4 #81

Merged
merged 5 commits into from
Jul 21, 2020
Merged

Correct paths and imports for step 4 #81

merged 5 commits into from
Jul 21, 2020

Conversation

slothkong
Copy link

@slothkong slothkong commented Mar 27, 2020

This was first pointed out in issue #53. I read the complete normalization.py script and seems like is not a code braking issue to have equal paths for target and source:

https://github.com/CUHKSZ-TQL/EverybodyDanceNow_reproduce_pytorch/blob/0080a4debceabfcccd777d13da9c083621c809c4/normalization.py#L14-L17

In any case source and target images/labels are all 512x512 and get_scale() does not require poses data to estimate the scale of the image and the head. However, for the sake of clarity and debugging I amended the paths.

There was also a typo in the README, about the output directory of transfer.py.

In addition I fixed the imports (no module named src) and paths problem in (preapare.py)[https://github.com/CUHKSZ-TQL/EverybodyDanceNow_reproduce_pytorch/blob/master/face_enhancer/prepare.py] that were reported in #29, #14, #37 and #28. I made small corrections in the README to make it more clear how to execute the face enhancement step.

Finally, I add a fix for the dataset loading error reported in #43.

Hope this helps.

@slothkong slothkong changed the title Correct path of source data for step 4 debug Correct paths and imports for step 4 Mar 27, 2020
@yanx27 yanx27 merged commit a740351 into yanx27:master Jul 21, 2020
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

Successfully merging this pull request may close these issues.

2 participants