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

Two error #41

Open
tetrapod0 opened this issue Dec 20, 2022 · 1 comment
Open

Two error #41

tetrapod0 opened this issue Dec 20, 2022 · 1 comment

Comments

@tetrapod0
Copy link

  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()

@lemon1022
Copy link

@TDAT97 Is the calculation of P and R slow when you train?

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

2 participants