- 
                Notifications
    
You must be signed in to change notification settings  - Fork 3.1k
 
Description
The image downloader script for training fails with numpy 1.24.4:
File "open_images_downloader.py", line 12, in
import pandas as pd
File "/usr/lib/python3/dist-packages/pandas/init.py", line 182, in
import pandas.testing
File "/usr/lib/python3/dist-packages/pandas/testing.py", line 7, in
from pandas.util.testing import (
File "/usr/lib/python3/dist-packages/pandas/util/testing.py", line 28, in
import pandas._libs.testing as _testing
File "pandas/_libs/testing.pyx", line 10, in init pandas._libs.testing
File "/home/user/.local/lib/python3.8/site-packages/numpy/init.py", line 3 05, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
np.boolwas a deprecated alias for the builtinbool. To avoid this error in existing code, useboolby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.bool_here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidan ce see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
A temporary solution is to install numpy==1.20.0