Sorry to bother you. But I meet (Confusion matrix is None. Check code) Error
When I use the following command in ADE20K Dataset(However, it works well in PascalVoc2012):
_export CFG_FILE="PATH_TO_CONFIG_FILE"
export DEEPLABV3_MODEL_WEIGHTS="PATH_TO_MODEL_WEIGHTS"
CUDA_VISIBLE_DEVICES=0 cvnets-eval-seg --common.config-file $CFG_FILE --common.results-loc seg_results --model.segmentation.pretrained $DEEPLABV3_MODEL_WEIGHTS --evaluation.segmentation.resize-input-images --evaluation.segmentation.mode validationset
Maybe the error is caused by class ConfusionMatrix() with zero return value, I don't know how to figure it out
Btw, the evaluation on a single image works properly.
Sorry to bother you. But I meet (Confusion matrix is None. Check code) Error
When I use the following command in ADE20K Dataset (However, it works well in PascalVoc2012): _export CFG_FILE="PATH_TO_CONFIG_FILE" export DEEPLABV3_MODEL_WEIGHTS="PATH_TO_MODEL_WEIGHTS" CUDA_VISIBLE_DEVICES=0 cvnets-eval-seg --common.config-file $CFG_FILE --common.results-loc seg_results --model.segmentation.pretrained $DEEPLABV3_MODEL_WEIGHTS --evaluation.segmentation.resize-input-images --evaluation.segmentation.mode validationset
It gets : Confusion matrix is None. Check code ......... acc_global, acc, iu, = conf_mat.compute() TypeError: cannot unpack non-iterable NoneType object
Maybe the error is caused by class ConfusionMatrix() with zero return value, I don't know how to figure it out Btw, the evaluation on a single image works properly.