MendelXu / SAN

Open-vocabulary Semantic Segmentation
https://mendelxu.github.io/SAN/
MIT License
295 stars 27 forks source link

TypeError: '>' not supported between instances of 'NoneType' and 'int' #21

Closed zzy0428 closed 1 year ago

zzy0428 commented 1 year ago

Hi, I am trying to train the model and got following error Do you have any solution or comments?

Weixin Image_20230909233832

MendelXu commented 1 year ago

It is caused by the newest detectron2 code. I have fixed it in https://github.com/MendelXu/SAN/commit/37171766dfa992276d28bac7c4b6c7e20d91ae7e. You can run the install.sh to reinstall the detectron2 package.

zzy0428 commented 1 year ago

Solved and thank you!