EverybodyDanceNow_reproduce_pytorch icon indicating copy to clipboard operation
EverybodyDanceNow_reproduce_pytorch copied to clipboard

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

Open benoitoutlook opened this issue 5 years ago • 1 comments

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!

benoitoutlook avatar Apr 06 '19 01:04 benoitoutlook

yep! It's so chaotic!

Suasy avatar Jan 21 '24 08:01 Suasy