sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
273 stars 137 forks source link

Problem with sklearn visualization #223

Closed Urimons closed 1 year ago

Urimons commented 1 year ago

Describe the bug When I try to "visualize classification results" for all my videos I get an error "TypeError: init() missing 1 required positional argument: 'video_file_path'", although when I do the same for only one video ("apply to single video") at the time it seems to work just fine.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'visualizations'
  2. Click on 'visualize classification results'
  3. See error

Screenshots image

image

Desktop (please complete the following information):

Additional context Is the problem with my config? (pics added) image image

sronilsson commented 1 year ago

Hi @Urimons - thanks for reporting!

If you update to latest version 1.30.2 with pip install simba-uw-tf-dev --upgrade, do you still see the error?

Urimons commented 1 year ago

No I do not! It seems to work just fine :) Thanks!

sronilsson commented 1 year ago

Thanks for letting me know!