LaneATT
LaneATT copied to clipboard
change np.float
HI where I have to change for 'float' ? here the error message
(laneatt) bjku@bjku:~/LaneATT$ python main.py train --exp_name laneatt_r34_tusimple --cfg cfgs/laneatt_tusimple_resnet34.yml
Traceback (most recent call last):
File "main.py", line 6, in np.float
was a deprecated alias for the builtin float
. To avoid this error in existing code, use float
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64
here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
pip install numpy==1.19 helps here.