-
Notifications
You must be signed in to change notification settings - Fork 212
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
AttributeError: module 'numpy.typing' has no attribute 'NDArray' #135
Comments
Update: |
@nikhilsos thanks so much for sharing and sorry for the version issue. numpy to < 1.23.0 (1.22.4) is this a relaxing or constrain? It is a known issue that numpy has a change after this version. -Yuan |
@YuanGongND constraining it is, pardon my mistake. I said the exact opposite. I had no idea about that numpy change, I am relatively new to this. |
Firstly, using cuda 10.1, requirement does not work as it is
Needed to install via:
pip install torch==1.8.1+cu101 torchvision==0.9.1+cu101 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
After that tried running: src/model/ast_models.py
got :
AttributeError: module 'numpy.typing' has no attribute 'NDArray'
The text was updated successfully, but these errors were encountered: