VGGFace2-HQ icon indicating copy to clipboard operation
VGGFace2-HQ copied to clipboard

FileNotFoundError: [WinError 3] The system cannot find the path specified: '$DATAPATH$/VGGface2/train'

Open MarineBirch723 opened this issue 3 years ago • 2 comments

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'

MarineBirch723 avatar Nov 23 '21 14:11 MarineBirch723

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

NNNNAI avatar Nov 24 '21 03:11 NNNNAI

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

MarineBirch723 avatar Nov 25 '21 12:11 MarineBirch723