Open nostayup opened 2 years ago
当设置mmseg/models/losses/accuracy.py中的accuracy函数时,如果设置thresh参数报了如下错误: ‘’ File "/mmseg/models/losses/accuracy.py", line 45, in accuracy correct = correct & (pred_value > thresh).t() RuntimeError: t() expects a tensor with <= 2 dimensions, but self is ”
We recommend using English or English & Chinese for issues so that we could have broader discussion.
if you do not mind, could you share the thresh value you set?
thresh
当设置mmseg/models/losses/accuracy.py中的accuracy函数时,如果设置thresh参数报了如下错误: ‘’ File "/mmseg/models/losses/accuracy.py", line 45, in accuracy correct = correct & (pred_value > thresh).t() RuntimeError: t() expects a tensor with <= 2 dimensions, but self is ”