MendelXu / SAN

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

Assertion `index >= -sizes[i] && index < sizes[i] && "index out of bounds"` failed. #22

Closed luluxiu17122 closed 1 year ago

APeiZou commented 1 year ago

@luluxiu17122 我也出现了相同的问题,请问您是怎么解决的呢

ChunmengLiu1 commented 8 months ago

@luluxiu17122 我也出现了相同的问题,请问您是怎么解决的呢 我也出现了相同的问题,请问您是怎么解决的呢

ChunmengLiu1 commented 8 months ago

@luluxiu17122 我也出现了相同的问题,请问您是怎么解决的呢

你好,我解决了这个问题。这是由于我没有使用prepare_coco_stuff.py处理coco-stuff数据集,可以参考https://github.com/KU-CVLAB/CAT-Seg/blob/main/datasets/README.md 准备数据集。