!!! IMPORTANT !!! You can choose to install SimBA as a standalone package or install SimBA with TensorFlow integration.
-
If you would like to be able to call DeepLabCut or DeepPoseKit commands via the SimBA interface (whuch requires a local GPU), please install SimBAxTF from the master branch. Please see the SimBA tutorials on DeepLabCut or DeepPoseKit for information on what it means to run DeepLabCut and DeepPoseKit within the SimBA GUI. See full installation instructions below.
-
If you do not want to use TensorFlow through SimBA on your local machine, and instead have DeepLabCut/DeepPoseKit/SLEAP installed elsewhere, please install SimBA from the SimBA_no_TF branch. This does not require a GPU, or local installations of DeepLabCut, DeepPoseKit, or SLEAP. Please see full instructions below. This non-TF version of SimBA includes all functionalities of SimBAxTF, except for the ability to generate pose-estimation models through the SimBA GUI. Pose-estmation model results can still be imported and analysed.
-
If you are on a Linux machine (or Mac or Windows PC), or you just want to work with a far speedier (and buggier!!) version of SimBA then run the SimBAxTF-dev version. This version is the same as the SimBAxTF, but contains the latest and the greatest tools (most undocumented, as yet) for explainable and interpretable supervised models for behavioral neuroscience.
- Python 3.6 <-- VALIDATED WITH 3.6.0
- Git
- FFmpeg
- Microsoft Windows operating system
Install SimBAxTF with integrated TensorFlow (use this installation method when running DeepLabCut, DeepPoseKit, or SLEAP locally using a GPU)
Open bash or command prompt and run the following commands on current working directory
pip install simba-uw-tf
Open bash or command prompt and run the following commands on current working directory
pip install simba-uw-no-tf
Open bash or command prompt and run the following commands on current working directory
pip install simba-uw-tf-dev
Note: If you are seeing error messages related to some dependency conflicts, then you need to either downgrade your pypi package or instruct SimBA to ignore these dependency conflicts - either works. To find more information on how to do this, click HERE
-
Open up command prompt anywhere.
-
In the command prompt type
simba
- Hit
Enter
.
Note: If you installed SimBA on a virtual environment (anaconda), after installation, you may have to run run
conda install shapely
for SimBA to work.
Install SimBAxTF with integrated TensorFlow (use this installation method when running DeepLabCut or DeepPoseKit locally using a GPU)
Open bash or command prompt and run the following commands on current working directory
git clone -b master https://github.com/sgoldenlab/simba.git
pip3 install -r simba/simba/requirements.txt
Open bash or command prompt and run the following commands on current working directory
git clone -b SimBA_no_TF https://github.com/sgoldenlab/simba.git
pip3 install -r simba/SimBA/requirements.txt
-
Open up command prompt in the SimBA folder
-
In the command prompt type
python SimBA.py
- Hit
Enter
.
Note: For this launch to work you need to add python to the environmental path.
-
Open up terminal of your environment
-
In the terminal type
pip install simba-uw-no-tf
- It will error out when running simba. To fix it, first uninstall shapely.
pip uninstall shapely
- Then, install shapely with conda command:
conda install -c conda-forge shapely
- Then, install shape,
pip install shap
- Lastly, install h5py,
pip install h5py
This is not recommended but it is possible.
- XCode installed
- Homebrew
- ffmpeg
- Python 3.6
- Anaconda
-
Create an environment for simba using anaconda terminal.
-
In the terminal type,
pip install simba-uw-no-tf
-
Then,
conda install -c anaconda python.app
-
Then,
conda install matplotlib
-
Then,
conda uninstall shapely
-
Then,
conda install -c conda-forge shapely
-
Then,
pip install shap
-
Lastly,
pip install h5py
-
In the terminal, type in
simba
to test if it works.
package | ver. |
---|---|
Pillow | 5.4.1 |
deeplabcut | 2.0.9 |
eli5 | 0.10.1 |
imblearn | 0.5.0 |
imutils | 0.5.2 |
matplotlib | 3.0.3 |
Shapely | 1.6.4.post2 |
deepposekit | 0.3.5 |
dtreeviz | 0.8.1 |
opencv_python | 3.4.5.20 |
numpy | 1.18.1 |
imgaug | 0.4.0 |
pandas | 0.25.3 |
scikit_image | 0.14.2 |
scipy | 1.1.0 |
seaborn | 0.9.0 |
sklearn | 1.1.0 |
scikit-learn | 0.22.1 |
tensorflow_gpu | 0.14.1 |
scikit-learn | 0.22.1 |
tqdm | 4.30.0 |
yellowbrick | 0.9.1 |
xgboost | 0.9 |
tabulate | 0.8.3 |
tables | ≥ 3.5.1 |
dash | 1.14.0 |
dash color picker | 0.0.1 |
dash daqs | 0.5.0 |
h5py | 2.9.0 |
numba | 0.48.0 |
numexpr | 2.6.9 |
plotly | 4.9.0 |
statsmodels | 0.9.0 |
cefpython3 | 66.0 |
pyarrow | 0.17.1 |
shap | 0.35.0 |