-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Thanks for your nice work.
When I use the eval.py file to evaluate a pre-computed map for another model, I get the following error:
Traceback (most recent call last):
File "D:/1_code/1Net/eval.py", line 32, in
FM.step(pred=pred, gt=mask)
File "D:\Anaconda3\envs\pytorch\lib\site-packages\py_sod_metrics\sod_metrics.py", line 67, in step
adaptive_fm = self.cal_adaptive_fm(pred=pred, gt=gt)
File "D:\Anaconda3\envs\pytorch\lib\site-packages\py_sod_metrics\sod_metrics.py", line 84, in cal_adaptive_fm
area_intersection = binary_predcition[gt].sum()
IndexError: boolean index did not match indexed array along dimension 1; dimension is 700 but corresponding boolean dimension is 702
could you tell what problems in me my steps.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels