nutonomy / nuscenes-devkit

The devkit of the nuScenes dataset.
https://www.nuScenes.org
Other
2.2k stars 617 forks source link

fix: update deprecated `np.float` to `np.double` #989

Closed ktro2828 closed 9 months ago

ktro2828 commented 9 months ago

What

I updated np.float to np.double because it is deprecated from numpy>=1.2.0. Also change dependency opencv-python<4.8.0.76 and numpy<1.25.0 because scipy warns.

ktro2828 commented 9 months ago

@whyekit-motional Could you check this PR? And I want you to deploy the new release:pray:

whyekit-motional commented 9 months ago

@ktro2828 in your PR description, can you show what scipy warnings are appearing, and a working code snippet to reproduce the scipy warnings that you see?

ktro2828 commented 9 months ago

@whyekit-motional Sorry, I tested in wrong environment and confirmed there is no warning from scipy. Therefore, I reverted the change of dependencies.