Evaluation error
Created by: panovr
The training and visualizing are fine, but the evaluation has some errors:
Traceback (most recent call last):
File ".\pdseg\eval.py", line 179, in <module>
main()
File ".\pdseg\eval.py", line 175, in main
evaluate(cfg, **args.__dict__)
File ".\pdseg\eval.py", line 141, in evaluate
conf_mat.calculate(pred, grts, masks)
File "E:\ZYL\Project\PaddleSeg\pdseg\metrics.py", line 47, in calculate
shape=(self.num_classes, self.num_classes))
File "C:\ProgramData\Anaconda3\envs\paddle\lib\site-packages\scipy\sparse\compressed.py", line 57, in __init__
other = self.__class__(coo_matrix(arg1, shape=shape))
File "C:\ProgramData\Anaconda3\envs\paddle\lib\site-packages\scipy\sparse\coo.py", line 198, in __init__
self._check()
File "C:\ProgramData\Anaconda3\envs\paddle\lib\site-packages\scipy\sparse\coo.py", line 285, in _check
raise ValueError('row index exceeds matrix dimensions')
ValueError: row index exceeds matrix dimensions