Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [Errno 2] No such file or directory: 'new/3dSwap/datasets/CelebA-HD/final_crops/gsy_src_2.jpg' #12

Open
qym77 opened this issue Jul 31, 2024 · 5 comments

Comments

@qym77
Copy link

qym77 commented Jul 31, 2024

if i only want to run the order " python run_3dSwap.py" to see the result do i need to download datasets or some thing?because there is an error,readme seems not mention this

@qym77 qym77 changed the title FileNotFoundError: [Errno 2] No such file or directory: '/mnt/traffic/home/qinyiming/new/3dSwap/datasets/CelebA-HD/final_crops/gsy_src_2.jpg' FileNotFoundError: [Errno 2] No such file or directory: 'new/3dSwap/datasets/CelebA-HD/final_crops/gsy_src_2.jpg' Jul 31, 2024
@qym77
Copy link
Author

qym77 commented Jul 31, 2024

FileNotFoundError: [Errno 2] No such file or directory: '/new/3dSwap/output/faceswap/gsy_src_2_gsy_tar_1.png'
why output still miss image?should i create a folder to address this?but i think its not the right way to fix it,because i have so many file missing,thank you for u reply

@takuphilchan
Copy link
Contributor

@qym77 Hello, yes you need to modify that part and use argument parser to dynamically parse the input and output paths of your images and their corresponding camera poses, to process you dataset and get camera poses you can check the notebook. You can update faceswap_coach.py like this and ensure the argument parser expects these inputs Like this
Screenshot 2024-07-31 122429

@qym77
Copy link
Author

qym77 commented Jul 31, 2024

FileNotFoundError: [Errno 2] No such file or directory: '/mnt/traffic/home/new/3dSwap/output/faceswap/0_1.png'
thank u for the reply,but what can i do for the output file missing?

@lyx0208
Copy link
Owner

lyx0208 commented Jul 31, 2024

Sorry, there's something wrong with the original facewswap_coach.py file, and I've just updated it.
For the output file, you can first make a directory "output/faceswap" under the main 3dSwap directory.

@qym77
Copy link
Author

qym77 commented Jul 31, 2024

抱歉,原始的 facewswap_coach.py​​ 文件有问题,我刚刚更新了它。 对于输出文件,您可以先在主 3dSwap 目录下创建一个目录“output/faceswap”。

yes,thank u for your great work and help! hope i can understand it better! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants