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

Still receive KeyError even after re-encoding #1707

Closed
4 tasks
rhansen123 opened this issue Mar 12, 2024 · 6 comments
Closed
4 tasks

Still receive KeyError even after re-encoding #1707

rhansen123 opened this issue Mar 12, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@rhansen123
Copy link

Bug description

I have been trying to run batches of videos through SLEAP inference, but SLEAP has had issues with a few videos. The error in the command terminal is attached to this post, but it seems to have an issue with a specific frame in a video and not finish running an inference. I reencoded the videos through Python as suggested, but the issue still occurs.

Expected behaviour

SLEAP should be able to run inference on the videos.

Actual behaviour

It stops at a few different videos with an error that it cannot load a frame.
Capture

  • OS:
  • Version(s):
Environment packages
# paste output of `pip freeze` or `conda list` here
Logs
# paste relevant logs here, if any

Screenshots

How to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error
@rhansen123 rhansen123 added the bug Something isn't working label Mar 12, 2024
@roomrys
Copy link
Collaborator

roomrys commented Mar 14, 2024

Hey @rhansen123,

Glad that you tried the re-encoding. That usually does the trick. Not glad it didn't work. The useful piece of information here would be what happened after you tried re-encoding your video? Did the terminal say anything? I expect it should have since it sounds like the re-encoding failed and that's why things are not working.

Thanks,
Liezl

@rhansen123
Copy link
Author

rhansen123 commented Mar 14, 2024 via email

@roomrys roomrys changed the title SLEAP not able to make inferences on videos Still receive KeyError even after re-encoding Mar 15, 2024
@talmo
Copy link
Collaborator

talmo commented Mar 17, 2024

Closing this in favor of #1711.

@rhansen123: This will be fixed in the next release, but feel free to install from source with the latest version from the develop branch if you're blocked.

@roaldarbol
Copy link

@talmo Came across this issue as I was running into the same issue (I resolved it in the end, but wasn't that easy to sort out). When do you expect the next release to come out? :-)

@talmo
Copy link
Collaborator

talmo commented Jul 2, 2024

Soon!™
@eberrigan @roomrys

@roaldarbol
Copy link

Haha, I'll take as a "let's hear what the other folks think" 😂 Looking forward to it nevertheless!

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

No branches or pull requests

4 participants