xiezhy6 / GP-VTON

Official Implementation for CVPR2023 paper "GP-VTON: Towards General Purpose Virtual Try-on via Collaborative Local-Flow Global-Parsing Learning"
465 stars 82 forks source link

数据集路径错误求助 #72

Open Manyalittlemakesamickle opened 5 months ago

Manyalittlemakesamickle commented 5 months ago

在执行完训练的第一个步骤之后,运行第二步骤的第一个脚本时,提示找不到对应的图片,这个脚本时 在训练数据集运行的好是测试数据集,根据提示它报这个错误:FileNotFoundError: [Errno 2] No such file or directory: 'Datasets/VITON-HD-512/test/image/07737_00.png' 希望大佬指出问题给出解决办法 我运行的是这个脚本: To train the second stage (i.e., the try-on generator), we first need to run the following command to generate the warped results for the in-shop garments in the training set::

python3 -m torch.distributed.launch --nproc_per_node=8 --master_port=4739 test_warping.py \ --name test_gpvton_lrarms_for_training_1029 \ --PBAFN_warp_checkpoint 'checkpoints/gp-vton_partflow_vitonhd_usepreservemask_lrarms_1027/PBAFN_warp_epoch_121.pth' \ --resize_or_crop None --verbose --tf_log \ --dataset vitonhd --resolution 512 \ --batchSize 2 --num_gpus 8 --label_nc 14 --launcher pytorch \ --dataroot /home/tiger/datazy/Datasets/VITON-HD-512 \ --image_pairs_txt train_pairs_1018.txt