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
@mjanusz
Hi, if I used python2.7 I got the same syntax error with #19.
And then I transform to python 3.7 I got another new error:
def _required(bbox: Optional[BoundingBox]) -> BoundingBox:
NameError: name 'Optional' is not defined
Is any help for this issue?
The text was updated successfully, but these errors were encountered:
* Fix for AxisError with numpy 1.18
FFN fails with
`numpy.AxisError: axis 4 is out of bounds for array of dimension 4`
when numpy 1.18 is used.
See the 1.18 note for numpy.expand_dims at
https://numpy.org/doc/stable/reference/generated/numpy.expand_dims.html
```
axis int or tuple of ints
Position in the expanded axes where the new axis (or axes) is placed.
Deprecated since version 1.13.0: Passing an axis where axis > a.ndim will be treated as axis == a.ndim, and passing axis < -a.ndim - 1 will be treated as axis == 0. This behavior is deprecated.
Changed in version 1.18.0: A tuple of axes is now supported. Out of range axes as described above are now forbidden and raise an AxisError.
```
* Fix import error
Training fails since Optional was not imported
@mjanusz
Hi, if I used python2.7 I got the same syntax error with #19.
And then I transform to python 3.7 I got another new error:
def _required(bbox: Optional[BoundingBox]) -> BoundingBox:
NameError: name 'Optional' is not defined
Is any help for this issue?
The text was updated successfully, but these errors were encountered: