You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This line takes what was initially in scores and nests it in a plain python list along with a scaled version of scores. However this variable scores is unconditionally used in eval.py as though it is a numpy array:
This means that any case that hits the line in layers/output_utils.py will cause the evaluation to crash with an error claiming AttributeError: 'list' object has no attribute 'argsort'
I tried just replacing this with np.concatenate but that caused a different error so I'm not totally sure what the intent is. How should this be resolved?
I forgot the extra parenthesis when I first used it, works in the PR attached.
The text was updated successfully, but these errors were encountered:
yolact/layers/output_utils.py
Line 88 in 57b8f2d
This line takes what was initially in
scores
and nests it in a plain python list along with a scaled version of scores. However this variablescores
is unconditionally used ineval.py
as though it is a numpy array:yolact/eval.py
Line 155 in 57b8f2d
This means that any case that hits the line in
layers/output_utils.py
will cause the evaluation to crash with an error claimingAttributeError: 'list' object has no attribute 'argsort'
I tried just replacing this withnp.concatenate
but that caused a different error so I'm not totally sure what the intent is. How should this be resolved?I forgot the extra parenthesis when I first used it, works in the PR attached.
The text was updated successfully, but these errors were encountered: