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: [WinError 3] The system cannot find the path specified: '$DATAPATH$/VGGface2/train' #5

Open
MarineBirch723 opened this issue Nov 23, 2021 · 2 comments

Comments

@MarineBirch723
Copy link

python scripts/crop_align_vggface2_FFHQalign.py --input_dir $DATAPATH$/VGGface2/train --output_dir_ffhqalign $ALIGN_OUTDIR$ --mode ffhq --crop_size 256
input mean and std: 127.5 127.5
find model: ./insightface_func/models\antelope\glintr100.onnx recognition
find model: ./insightface_func/models\antelope\scrfd_10g_bnkps.onnx detection
set det-size: (320, 320)
Traceback (most recent call last):
File "scripts/crop_align_vggface2_FFHQalign.py", line 63, in
dirs = sorted(os.listdir(input_dir))
FileNotFoundError: [WinError 3] The system cannot find the path specified: '$DATAPATH$/VGGface2/train'

@NNNNAI
Copy link
Owner

NNNNAI commented Nov 24, 2021

replace $DATAPATH$ with the place where you place VGGFACE2 dataset . For example if you place the dataset in /home/dataset/VGGface2, the command line will be

python scripts/crop_align_vggface2_FFHQalign.py --input_dir /home/dataset/VGGface2/train --output_dir_ffhqalign $ALIGN_OUTDIR$ --mode ffhq --crop_size 256

@MarineBirch723
Copy link
Author

python scripts/crop_align_vggface2_FFHQalign.py --input_dir /Documents/vggface/VGGFace2-HQ-main/VGGface2/train --output_dir_ffhqalign $ALIGN_OUTDIR$ --mode ffhq --crop_size 256
input mean and std: 127.5 127.5
find model: ./insightface_func/models\antelope\glintr100.onnx recognition
find model: ./insightface_func/models\antelope\scrfd_10g_bnkps.onnx detection
set det-size: (320, 320)
Traceback (most recent call last):
File "scripts/crop_align_vggface2_FFHQalign.py", line 63, in
dirs = sorted(os.listdir(input_dir))
FileNotFoundError: [WinError 3] The system cannot find the path specified: '/Documents/vggface/VGGFace2-HQ-main/VGGface2/train'

Still it does not work

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

2 participants