Skip to content

Two error #41

@tetrapod0

Description

@tetrapod0
  1. 'Upsample' object has no attribute 'recompute_scale_factor'
    Edit torch==1.10.0 in requirements.txt

  2. ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.
    For CPU polygon_detect.py,
    In line numbers 813, 815 utils/general.py,
    Edit boxes1[i, :].view(4,2) -> boxes1[i, :].view(4,2).numpy()
    Edit boxes2[j, :].view(4,2) -> boxes2[j, :].view(4,2).numpy()

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