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

Training is breaking in python 3.11.3 #241

Open
PrajwalCogniac opened this issue Nov 8, 2023 · 1 comment
Open

Training is breaking in python 3.11.3 #241

PrajwalCogniac opened this issue Nov 8, 2023 · 1 comment

Comments

@PrajwalCogniac
Copy link

PrajwalCogniac commented Nov 8, 2023

Describe the bug
I am getting the following error when trying to run the training script in Jupyter notebook python 3.11.3
File "mtrand.pyx", line 920, in numpy. random. mtrand. RandomState. choice ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.
image

To Reproduce
Steps to reproduce the behavior (full command you are using).
Ran the following code :
python train.py --config=yolact_edge_config

Expected behavior
This issue does not happen in python 3.10

Full logs
If applicable, add full logs to help explain your problem.

Environment:

  • OS: [e.g. Ubuntu 18.04]
  • GPU: [e.g. RTX 2080 Ti *4]
  • CUDA Version [e.g. 10.2]

Additional context
Add any other context about the problem here.

@PrajwalCogniac
Copy link
Author

@haotian-liu Any suggestions will be really helpful ! Thank you :)

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