Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deleting instance fatal error in sleap multi view #2008

Open
bmidler opened this issue Oct 27, 2024 · 3 comments
Open

Deleting instance fatal error in sleap multi view #2008

bmidler opened this issue Oct 27, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@bmidler
Copy link

bmidler commented Oct 27, 2024

Hi, I've been working with sleap multi-view (the latest version of this branch) and have observed and reproduced the following bug:

  1. Inference is run on a frame.
  2. Predicted instance appears.
  3. Predicted instance is added to an instance group (this is key).
  4. I attempt to delete the instance using Labels>delete instance.

When I do this, the instance is not deleted, and when I go to save the project an error message is thrown and, critically, the project file has been deleted.

@bmidler bmidler added the bug Something isn't working label Oct 27, 2024
@roomrys
Copy link
Collaborator

roomrys commented Nov 1, 2024

Hi @bmidler,

Apologies for the delay. I am attempting to recreate the issue, but am having trouble. Are you able to provide the error message you are getting in the terminal?

Additionally, are you able to provide us with a troubleshooting dataset? This would include just the slp file (no videos needed) with predictions on at least one frame (which we can then try adding to an instance group to see what is happening). If you feel comfortable providing that, please upload to this form.

Thanks,
Liezl

@bmidler
Copy link
Author

bmidler commented Nov 4, 2024

Hi Liezl,
I've figured more out about this issue and uploaded a screencapture to the form. Specifically, the steps are these:

  1. Predict instance on a frame.
  2. Add instance to an instance group.
  3. Delete predictions on current frame (other settings for deleting predictions--e.g. deleting all predictions--may also cause the issue).
  4. Delete the instance.

Let me know if you have more question. I've attached a screenshot of the error message.Image

@roomrys
Copy link
Collaborator

roomrys commented Nov 7, 2024

Hi @bmidler,

I tried to exactly recreate what you did in the video you sent over - thanks for that. But, I am still having trouble using my own dataset (I've sent you a video recording of my recreation failure on slack).

It would be very helpful to me if you could send me the slp file (no videos needed - thus it'd be relatively small data to be sent).

I need the slp file to have a prediction on the current frame (lmk which frame please). From there, I will investigate the slp using the sleap API to lookout for anything obviously strange. I will also use the vscode debugger to run the GUI, add the instance to an instance group, delete prediction, and figure out why the error we see is just the PredictedInstance.__repr__ .

You can upload the slp to this form.

Thanks,
Liezl

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants