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

Error code 500 on F-BRS #5299

Closed
kodecreer opened this issue Nov 16, 2022 · 1 comment · Fixed by #5384
Closed

Error code 500 on F-BRS #5299

kodecreer opened this issue Nov 16, 2022 · 1 comment · Fixed by #5384
Assignees
Labels
bug Something isn't working

Comments

@kodecreer
Copy link

kodecreer commented Nov 16, 2022

My actions before raising this issue

Expected Behaviour

I try using F BRS on the website and it pulls a 500 error. This isn’t an issue on my intel MacBook in the past.

Current Behaviour

Possible Solution

There may be a functionality not working in the chrome version on Mac M1

Steps to Reproduce (for bugs)

  1. Mac M1 using chrome
  2. Use F-BRS and convert to masks to be true
  3. Click on spot

Context

Use F-BRS

Your Environment

  • Git hash commit (git log -1):
  • Docker version docker version (e.g. Docker 17.0.05):
  • Are you using Docker Swarm or Kubernetes?
  • Operating System and version (e.g. Linux, Windows, MacOS):
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Logs from `cvat` container

Online Chrome on Mac M1.

@nmanovic
Copy link
Contributor

@kodecreer , thanks for the report. It is a bug with the deployment of the function on our site.

@nmanovic nmanovic added the bug Something isn't working label Nov 18, 2022
nmanovic pushed a commit that referenced this issue Jan 11, 2023
This is pretty much the same fix applied to f-BRS in #5384. We've been
using HRNet for a while and now an then we receive "500 errors" just as
reported in #5299 when someone forgets to drop the alpha-channel from
our images.

### Motivation and context
The RuntimeError is a little bit different, but comes from the same
issue: RGBA instead of RGB images:
> RuntimeError: Given groups=1, weight of size [16, 3, 1, 1], expected
input[*, 4, *, *] to have 3 channels, but got 4 channels instead.

### How has this been tested?
I created a task with images with and w/o alpha channel, and the
interactor works on both now.
mikhail-treskin pushed a commit to retailnext/cvat that referenced this issue Jul 1, 2023
This is pretty much the same fix applied to f-BRS in cvat-ai#5384. We've been
using HRNet for a while and now an then we receive "500 errors" just as
reported in cvat-ai#5299 when someone forgets to drop the alpha-channel from
our images.

### Motivation and context
The RuntimeError is a little bit different, but comes from the same
issue: RGBA instead of RGB images:
> RuntimeError: Given groups=1, weight of size [16, 3, 1, 1], expected
input[*, 4, *, *] to have 3 channels, but got 4 channels instead.

### How has this been tested?
I created a task with images with and w/o alpha channel, and the
interactor works on both now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants