Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

np.asfarray was removed in the NumPy 2.0 release. Use np.asarray with a proper dtype instead. #199

Closed
AmetistDrake opened this issue Jan 12, 2025 · 1 comment

Comments

@AmetistDrake
Copy link
Contributor

File venv/lib/python3.12/site-packages/motmetrics/distances.py:117 in iou_matrix objs = np.asfarray(objs) File venv/lib/python3.12/site-packages/numpy/__init__.py:400 in __getattr__ raise AttributeError( AttributeError:np.asfarraywas removed in the NumPy 2.0 release. Usenp.asarray with a proper dtype instead.

@AmetistDrake
Copy link
Contributor Author

AmetistDrake commented Jan 14, 2025

Fixed here

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

No branches or pull requests

1 participant