jolibrain/joliGEN

Training with semantic segmentation error "NameError: name 'N_img_path' is not defined"

YoannRandon opened this issue · 2 comments

Hi, i got a problem during my training using semantic segmentation.

After i prepared the dataset for training using semantic segmentation i got the following error : "NameError: name 'N_img_path' is not defined". I used the following line command :
python train.py --dataroot /home/shared/Synth2real_sem_seg --checkpoints_dir /home/shared/checkpoint_model --name Oktalse2bdd100k --config_json ./config_file_lib/synth2real_sem_seg.json --output_display_aim_server 127.0.0.1 --output_display_visdom_port 8501 --gpu_ids 0,1,2,3 --train_semantic_mask --data_relative_paths

My config file is close to the one in "examples" directories : "example_gan_glasses2noglasses.json"

Do you know why this error occurred ?

my bad, I used "img" instead of "imgs"