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
dx and widths[:, np.newaxis]are not same size mostly, such as [1769, 1] vs [1290, 1], because they comes from boxes and delta, they are not same in dimension 0.
How could they applying a*b if they are not same in dim 0??
For example:
[[1], [2]] * [[3]]
Will not work....
>>> a = np.array([[3], [4], [5]])
>>> a
array([[3],
[4],
[5]])
>>> b = np.array([[4], [8]])
>>> a*b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: operands could not be broadcast together with shapes (3,1) (2,1)
>>>
I got exactly same when I train it with VOC data.....
The text was updated successfully, but these errors were encountered:
This function locates at bbox_transform.py
this line
dx
andwidths[:, np.newaxis]
are not same size mostly, such as [1769, 1] vs [1290, 1], because they comes fromboxes
anddelta
, they are not same in dimension 0.How could they applying
a*b
if they are not same in dim 0??For example:
Will not work....
I got exactly same when I train it with VOC data.....
The text was updated successfully, but these errors were encountered: