OmniParser
OmniParser copied to clipboard
AttributeError: `np.sctypes` was removed in the NumPy 2.0 release. Access dtypes explicitly instead.. Did you mean: 'dtypes'?
Met this prob when running the script gradio_demo.py. Detailed traceback as follows:
C:\Users\Jawk.conda\envs\omni\python.exe C:\Users\Jawk\PycharmProjects\OmniParser\gradio_demo.py
Traceback (most recent call last):
File "C:\Users\Jawk\PycharmProjects\OmniParser\gradio_demo.py", line 11, in np.sctypes
was removed in the NumPy 2.0 release. Access dtypes explicitly instead.. Did you mean: 'dtypes'?
Process finished with exit code 1
Looks like numpy package version conflict, but I was following official installation tutorial step by step. Checked the version of numpy and it's 1.26.4 same as the requirements file. Also tried degrade numpy but other confilts jumped out. Upgrading package imgaug doesn't refresh any package. Could anybody help out or has anybody met the same issue? Appreciate it.