Open AntiYH opened 3 years ago
你解决了么,应该是路径问题
麻烦问一下怎么解决的啊
alter the dataroot default value to your disk path of LEVIR dataset located at base_options file,here's my options: parser.add_argument('--dataroot', type=str, default=r'F:\change_detection\LEVIR-CD\train'……
AssertionError: path-to-LEVIR-CD-train/A is not a valid directory 出现这样的问题是修改哪里呢
alter the dataroot default value to your disk path of LEVIR dataset located at base_options file,here's my options: parser.add_argument('--dataroot', type=str, default=r'F:\change_detection\LEVIR-CD\train'……
你好,运行这个时出来这个结果 python ./train.py --save_epoch_freq 1 --angle 15 --dataroot path-to-LEVIR-CD-train --val_dataroot path-to-LEVIR-CD-val --name LEVIR-CDF0 --lr 0.001 --model CDF0 --batch_size 8 --load_size 256 --crop_size 256 --preprocess rotate_and_crop changedetection 怎么修改路径,在哪里修改呀
Traceback (most recent call last):
File "./train.py", line 108, in
在base_options dataroot', type=str, default='./LEVIR-CD/train'
运行train.py时出现这个错误AssertionError: ./LEVIR-CD\A is not a valid directory