goberoi/faceit

OSError: [Errno 17] File exists: '/faceit/data/processed/fallon_mom.mp4_faces'

kartikchauhan opened this issue · 0 comments

[extract-faces] about to extract faces for data/processed/fallon_mom.mp4_faces
Input Directory: /media/killwithme/Ubuntu extended/projects/faceit/data/processed/fallon_mom.mp4_frames
Output Directory: /media/killwithme/Ubuntu extended/projects/faceit/data/processed/fallon_mom.mp4_faces
Starting, this may take a while...
Traceback (most recent call last):
File "faceit.py", line 362, in
faceit.preprocess()
File "faceit.py", line 172, in preprocess
self.extract_faces()
File "faceit.py", line 79, in extract_faces
self._process_media(self._extract_faces)
File "faceit.py", line 88, in _process_media
func(person, video)
File "faceit.py", line 153, in _extract_faces
self._faceswap.extract(self._video_frames_path(video), video_faces_dir, self._people[person]['faces'])
File "faceit.py", line 310, in extract
self._run_script(args_str)
File "faceit.py", line 324, in _run_script
args.func(args)
File "faceswap/lib/cli.py", line 42, in process_arguments
self.output_dir = get_folder(self.arguments.output_dir)
File "faceswap/lib/utils.py", line 11, in get_folder
output_dir.mkdir(parents=True)
File "/home/killwithme/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pathlib.py", line 1106, in mkdir
self._accessor.mkdir(self, mode)
File "/home/killwithme/anaconda2/envs/tensorflow/lib/python2.7/site-packages/pathlib.py", line 346, in wrapped
return strfunc(str(pathobj), *args)
OSError: [Errno 17] File exists: '/media/killwithme/Ubuntu extended/projects/faceit/data/processed/fallon_mom.mp4_faces'