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
286 stars 139 forks source link

H5 - how to import tracking type "ellipse"? #143

Closed carlitomu closed 2 years ago

carlitomu commented 2 years ago

Hi, I'm trying to import some H5 files with tracking type "ellipse" in the "import tracking data" tab, but the tracking type options available are "skeleton" and "box". So there'sn't "ellipse" option. Schermata 2021-10-21 alle 16 03 35

How can import these "ellipse" H5 files correctly?

Thanks, Carlo.

sgoldenlab commented 2 years ago

Hello @carlitomu ! There is an ellipse option - it was added 4-5 months ago, you would not see it if you were running an older version of SimBA. Could you upgrade SimBA with pip install simba-uw-tf-dev --upgrade or pip install simba-uw-tf-dev==0.87.7 and let me know if you see it?

carlitomu commented 2 years ago

Thanks.

I used "pip install simba-uw-tf-dev==0.87.7" (in the terminal in the Anaconda environment, working with OSX). and now I get this: Schermata 2021-10-21 alle 16 32 25

I tried to follow the instructions for the installation on mac (https://simba-docs.readthedocs.io/en/latest/docs/intro/installation.html), but I can't solve the problem: i can't launch simba again :(

sgoldenlab commented 2 years ago

Oh I have not seen this one before but it's a matplotlib issue, before launching Simba with simba, could you try this recommendation, https://github.com/ludwig-ai/ludwig/issues/114

So type conda install matplotlib, to make sure your matplotlib version is above 3.0 ?

carlitomu commented 2 years ago

After conda install matplotlib and simba, I get this code: Schermata 2021-10-21 alle 17 12 03 (I also checked the matplotlib version: it's the 3.0.3)

sgoldenlab commented 2 years ago

Hi, Please start a new environment and follow the steps, make sure that the version of python that you are using is 3.6.13.

One quick note is to make sure in your conda environment, tk has a version of 8.6.10

Screen Shot 2021-10-21 at 2 19 47 PM

https://simba-docs.readthedocs.io/en/latest/docs/intro/installation.html#installing-on-macos

carlitomu commented 2 years ago

Hi, I followed your instructions (tk 8.6.10 and python 3.6.13 in a new environment) and... Schermata 2021-10-22 alle 16 08 37

Thanks!