YuvalNirkin / fsgan

FSGAN - Official PyTorch Implementation
https://nirkin.com/fsgan
Creative Commons Zero v1.0 Universal
754 stars 147 forks source link

preprocess_video.py to preprocess IJB-C error #90

Open satoshikanno opened 3 years ago

satoshikanno commented 3 years ago

I ran preprocess_video.py to preprocess IJB-C. The following error occurs. ”RuntimeError: Cache file does not exist: C:\data\datasets\IJB-C\images\video\1\1_dsfd_seq.pkl” What should I do?

YuvalNirkin commented 3 years ago

Does it work on other videos?

satoshikanno commented 3 years ago

The process doesn't complete on the other videos, I get the same error. It's a video, not an image. I get the same error. RuntimeError: Cache file does not exist How should I respond?

ERROR:root:Traceback (most recent call last): File "C:\data\dev\projects\fsgan\utils\batch.py", line 78, in main func_obj(curr_input) if ignore_output else func_obj(curr_input, out_vid_path) File "preprocess_video.py", line 490, in call return self.cache(input_path, output_dir) File "preprocess_video.py", line 459, in cache encoder_codec=self.encoder_codec) File "C:\data\dev\projects\fsgan\preprocess\crop_video_sequences.py", line 23, in main raise RuntimeError('Cache file does not exist: ' + cache_path) RuntimeError: Cache file does not exist: C: