yanx27 / EverybodyDanceNow_reproduce_pytorch

Everybody dance now reproduced in pytorch
MIT License
607 stars 172 forks source link

There are too many path setting in errors with face_enhancer parts lead to everything cannot be run... #37

Open benoitoutlook opened 5 years ago

benoitoutlook commented 5 years ago

There are too many path setting in errors with face_enhancer parts lead to everything cannot be run...

The locations of images and path names are also chaotic very much ...

like: prepare.py

face_sync_dir = Path('../data/face/ ') face_sync_dir.mkdir(exist_ok=True) test_sync_dir = Path('../data/face/test_sync/ ') test_sync_dir.mkdir(exist_ok=True) test_real_dir = Path('../data/face/test_real/ ') test_real_dir.mkdir(exist_ok=True) test_img = Path('../data/target/images/ ') test_img.mkdir(exist_ok=True) test_label = Path('../data/target/test_label/ ') test_label.mkdir(exist_ok=True)

import src.config.test_opt as opt

and main.py

image_folder = dataset.ImageFolderDataset(dataset_dir, cache=os.path.join(dataset_dir, 'local.db'))

and

self.images = sorted(os.listdir(os.path.join(root, 'test_real')))

and

self.root, self.images, self.size = pickle.load(f)

...

Any help is appreciated!

Suasy commented 10 months ago

yep! It's so chaotic!