Skip to content

Conversation

Phoenix8215
Copy link

Purpose:

This PR addresses the deprecation of np.int and np.float in newer versions of NumPy. These aliases have been deprecated and may cause warnings or errors when i trained BEVFusion model. The latest version of the nuScenes™ devkit, which is required for training BEV models, uses NumPy version 1.22.0 or higher. As a result, older syntax like np.int is deprecated and no longer supported.
图片

Changes:

Replaced all instances of np.int with np.int_.
Replaced all instances of np.float with np.float64.

Testing:

All existing tests have passed after the changes were made, confirming that the code remains functional and correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant