RootPainter0.2.27 Numpy issue #132
beechwood13
started this conversation in
General
Replies: 2 comments
-
Thanks for making me aware of this. The newer version of numpy don't support np.int and requires me to just use the built in int instead. I've just made this change on the master branch: fd3ce9f Would you be able to run your trainer from source by cloning the master branch? If so, then this should hopefully now be fixed for you. Otherwise I can create a new release tomorrow. |
Beta Was this translation helpful? Give feedback.
0 replies
-
BTW for RVE, you want to generate segmentations in RVE compatible format. I'm not sure why you would generate length from RootPainter for use in RVE. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have the following problem:
System:
Ubuntu 23.10
NVIDIA GA102GL [RTX A5000] with 64GB video RAM
Python3.9 form Miniconda
RootPainter 0.2.27 is installed from the tar.gz archive (both server and client on the same machine)
Compiling and setup went smoothly and everything seemed to work well.
However, when trying to extract lenghtes for RVE, I get the following error:
Seconds to get metrics: 0.08
Seconds to get metrics: 0.07
log_exception 2024-02-19 22:14:10.305399|sys_exception|Error. type: <class 'AttributeError'>, value: module 'numpy' has no attribute 'int'.
np.int
was a deprecated alias for the builtinint
. To avoid this error in existing code, useint
by itself. Doing this will not modify any behavior and is safe. When replacingnp.int
, you may wish to use e.g.np.int64
ornp.int32
to specify the precision. If you wish to review your current use, check the release note link for additional information.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, traceback: File "base_extract.py", line 50, in run
File "extract_length.py", line 31, in save_length_to_csv
File "numpy/init.py", line 305, in getattr
(I remember I had a similar Numpy issue earlier in a different environment)
Thanks for helping in advance!
Beta Was this translation helpful? Give feedback.
All reactions