lxtGH / DecoupleSegNets

[ECCV-2020]: Improving Semantic Segmentation via Decoupled Body and Edge Supervision
370 stars 36 forks source link

Trainging error about 'train_cityscapes_W38_decouple.sh' #5

Closed Joker1994k closed 4 years ago

Joker1994k commented 4 years ago

Hi, thank you for sharing your great work!

When training with the script 'train_cityscapes_W38_decouple.sh', I met

Traceback (most recent call last):                                                                                                                                                            
  File "train.py", line 416, in <module>                                                                                                                                                      
    main()                                                                                                                                                                                    
  File "train.py", line 183, in main                                                                                                                                                          
    optim, scheduler = optimizer.get_optimizer(args, net)                                                                                                                                     
  File "/segmentation/DecoupleSegNets/optimizer.py", line 37, in get_optimizer                                                                                                     
    raise ValueError('ERROR Cannot Do Scale Poly')                                                                                                                                            
ValueError: ERROR Cannot Do Scale Poly

When I read the code, I find the reason is parameter REDUCE_BORDER_EPOCH is set to -1 and lr_schedule is set to 'scl-polyoccur' at the same time. Can you give some advice about how to set these parameters? Thx

lxtGH commented 4 years ago

I will update the file in one week

lxtGH commented 4 years ago

The config has been updated~