Skip to content

AttributeError: module 'numpy' has no attribute 'int'. #28

@matanPercepto

Description

@matanPercepto

Hi,
I am trying to run training session of BoxInstSeg, and recieved the following error:

File "/home/ubuntu/***/projects/BoxInstSeg/mmdet/datasets/pipelines/loading.py", line 653, in _generate_mask_from_box
    gtboxes = results['gt_bboxes'].round().astype(np.int)

I am using the latest repository of BoxInstSeg, and my numpy version is 1.26.3.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions