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
289 stars 141 forks source link

Outlier correction doesn't respond #250

Open Urimons opened 1 year ago

Urimons commented 1 year ago

After importing videos and CSV's from DLC and setting video parameters I moved to the outlier correction step. After pressing "setting" and setting the parameters (1.5 for criterion for both) I pressed "Confirm" and then "Run outlier correction" and nothing happens. SimBA just doesn't respond to that button.
What does it mean? How can I fix it (if needed fixing)? Thanks To Reproduce Steps to reproduce the behavior:

  1. Go to 'Outlier correction'
  2. Click on 'Setting'
  3. Click on 'Confirm'
  4. Go back to 'Outlier correction'
  5. Press "Run outlier correction"

Desktop (please complete the following information):

Additional context Add any other context about the problem here. image

sronilsson commented 1 year ago

Hi @Urimons! Thanks for reporting, if you upgrade SimBA with pip install simba-uw-tf-dev --upgrade do you still see this error? Last version should be version 1.59.1.

Urimons commented 1 year ago

I installed the latest version and now everything works great! thanks

Chantal-Wi commented 11 months ago

Hi!

I have the same problem described as above. After I installed the newest version (1.74.3) I don't get an error message in the main window anymore, but I still don't get 2 CSV files in the project_folder\log. I get one CSV file (named: Outliers_movement_20231012081509), which is empty - see picture attached. Besides this I also cant find any CSV files for each of the videos my project located within the project_folder\csv\outlier_corrected_movement_location sub-directory. Could you tell me how I fix this problem? Thank you! Problem_outlier_correction

sronilsson commented 11 months ago

Hi @Chantal-Wi and thanks for reporting! When running the outlier correction, do you see any errors either in the main SimBA window, or printed in the Windows terminal window?

Chantal-Wi commented 11 months ago

image image

Thank you for your answer! This is what I get when I try to run this command.

sronilsson commented 11 months ago

Thanks @Chantal-Wi - do you see any CSV files inside the project_folder/csv/input_csv directory of your SimBA project?

Chantal-Wi commented 11 months ago

No, this folder is empty.

sronilsson commented 11 months ago

Alright - when you imported your tracking data, did you see any errors in SimBA main window or Windows terminal?

The error comes from when SimBA tries to perform outlier correction but can't find any files . I will insert a better error msg..