GithubHelp home page GithubHelp logo

anshu957 / jabs-behavior-classifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kumarlabjax/jabs-behavior-classifier

0.0 0.0 0.0 14.88 MB

Behavior Classifier Component from the Jax Animal Behavior System

License: Other

Shell 1.06% Python 98.81% Batchfile 0.13%

jabs-behavior-classifier's Introduction

JAX Animal Behavior System (JABS)

ReadTheDocs Tutorial

https://jabs-tutorial.readthedocs.io/en/latest/index.html

Copyright

Copyright 2021 The Jackson Laboratory -- All rights reserved.

Contact

email us at [email protected]

License

JABS is licensed under a non-commercial use license, see LICENSE for more information. Contact us for information about licensing for commercial use.

Notice

This is beta software. Changes, including incompatible changes to exported training data and prediction output, are forthcoming.

Pose Files

JABS requires pose files generated from the Kumar Lab's mouse pose estimation neural network. Contact us for more information.

Requirements

Developed and tested on Python 3.7, 3.8, and 3.9. See the requirements.txt for a list of required Python packages. These packages are available from the Python Package Index (PyPI)

Python Virtual Environment

The following instructions are for Linux or MacOS Users. Windows users can follow the instructions in the "Windows" section below.

Creating the Virtual Environment

You will need to create the virtual environment before you can run the labeler for the first time. The following commands will create a new Python3 virtual environment, activate it, and install the required packages. Note, your python executable may be named python or python3 depending on your installation.

python -m venv jabs.venv
source jabs.venv/bin/activate
pip install -r requirements.txt

Activating

The virtual environment must be activated before you can run the labeling interface. To activate, run the following command:

source jabs.venv/bin/activate

Deactivating

The virtual environment can be deactivated if you no longer need it:

deactivate

Enabling XGBoost Classifier

The XGBoost Classifier has a dependency on the OpenMP library. This does not ship with MacOS. XGBoost should work "out of the box" on other platforms. On MacOS, you can install libomp with Homebrew (preferred) with the following command brew install libomp. You can also install libomp from source if you can't use Homebrew, but this is beyond the scope of this Readme.

Windows

Make sure that a compatible version of Python is installed (3.7, 3.8, or 3.9).

Windows Scripts

There are two convenience scripts included with JABS, setup_windows.bat and jabs.bat, that allow a user to set up the Python environment and launch JABS without using the command prompt.

The setup_windows.bat script will create a Python virtual environment in the JABS directory called jabs.venv and then install all the required packages from PyPi. This script can be executed by double-clicking on it in the Windows Explorer. This script only needs to be executed once.

The jabs.bat script will activate the jabs.venv virtual environment and launch the JABS application. This can be executed by double-clicking on it in the Windows Explorer.

Manual Configuration

You can also set up the Python virtual environment and execute JABS from the Windows Command Prompt (cmd.exe).

To configure the Python virtual environment manually, Open a Command Prompt in the JABS directory and run the following commands:

python -m venv jabs.venv
jabs.venv\Scripts\activate.bat
pip install -r requirements.txt

To launch JABS from the command prompt, open a command prompt in the JABS directory and run the following commands:

jabs.venv\Scripts\activate.bat
python app.py

jabs-behavior-classifier's People

Contributors

anshu957 avatar gbeane avatar pa-glen avatar skepticraven avatar vivekjax avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.