Skip to content

Training is breaking in python 3.11.3 #241

@PrajwalCogniac

Description

@PrajwalCogniac

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions