csbhr / FFHQ-UV

The official repository of our CVPR2023 paper "FFHQ-UV: Normalized Facial UV-Texture Dataset for 3D Face Reconstruction".
MIT License
466 stars 46 forks source link

error #35

Closed pyh007 closed 1 year ago

pyh007 commented 1 year ago

Traceback (most recent call last): File "run_styleflow_editing.py", line 328, in set_normal(sf_model, args.proj_data_dir, output_edit_dir, fn, edit_items) File "run_styleflow_editing.py", line 204, in set_normal cur_latent = torch.load(os.path.join(proj_data_dir, 'latents', f'{basename}.pt')) File "/root/miniconda3/envs/ffhq-uv/lib/python3.7/site-packages/torch/serialization.py", line 581, in load with _open_file_like(f, 'rb') as opened_file: File "/root/miniconda3/envs/ffhq-uv/lib/python3.7/site-packages/torch/serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "/root/miniconda3/envs/ffhq-uv/lib/python3.7/site-packages/torch/serialization.py", line 211, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: '../examples/dataset_examples/latents/01223.pt' 为什么里面传入01223.pt了过后运行脚本的时候这个文件会被删除