Open benoitoutlook opened 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')))
self.root, self.images, self.size = pickle.load(f)
...
Any help is appreciated!
yep! It's so chaotic!
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!