This library provides tools for worm detection and movement prediction, training predictors, and analyzing the results. It includes support for YOLO-based prediction and various simulation controllers.
- Real-time Worm detection and movement prediction
- Logging and analysis tools
- CSV, logging, and YOLO controllers
- There is an Official Documentation website availabe of the entire API.
- The library is fully documented within the code base.
- Workflow files have elaborate documentation for usage.
Download the project repository (by clicking on code -> download zip) and extract the files in the desired location.
Step 1- Install mamba:
Install 'Miniforge' from this link, make sure to download the right version (that match the OS and CPU of the computer).
If asked during installation: add to PATH.
* if unsure, use this link to download mamba.
Step 2 - verify that mamba is installed correctly:
- Navigate to the folder into which the library was download.
- Open terminal/command prompt.
- Enter - 'mamba -h'.
if no error is encountered then mamba is installed correctly.
Step 3 - create a new environment:
- Enter the following command - "mamba create -n bio-proj python=3.12".
- Enter the command - 'mamba init'.
* You can choose another name (not only 'bio-proj'). If you do , you will need to change the name field in the 'requirements.yaml' file as well.
Step 4 - Activate the environment:
- Enter the command - 'mamba activate bio-proj'.
- If you used another name for the environment, replace 'bio-proj' with the name you have chosen.
Step 5 - Installing Pytorch:
- Head to the pytorch website here, there you will find a table to select your configuration, select the following:
- PyTorch Build = stable
- OS - the operating system of the computer [Windows/Linux]
- Package - the package manager [conda]
- Language - the programming language [Python]
- Compute Platform - if the computer has GPU select the newest version of CUDA [12.1 was tested], otherwise select CPU.
- Copy the command below the table and enter it in the terminal/command prompt
- Wait till the installation is complate. That might take a while.
Step 6 - Install the rest of the libraries:
Enter the command - 'mamba env update -f requirements.yaml -n bio-proj'
To run the project we recommend 'Visual Studio Code' (also referred as VS Code), a free IDE. Basic usage videos and documentation can be found here.
You can download and install VS Code from here.
To set up VS Code for the project you need to install several extensions. Follow this link to learn how to install extensions. The extensions needed are:
* Some extensions may be already installed by default.
Refer to the variouse '.ipynb' files for usage for each workflow.
The code is licensed under the GPL v3.0 License.
TL;DR Here's what the license entails:
1. Anyone can copy, modify and distribute this software.
2. You have to include the license and copyright notice with each and every distribution.
3. You can use this software privately.
4. You can use this software for commercial purposes.
5. If you dare build your business solely from this code, you risk open-sourcing the whole code base.
6. If you modify it, you have to indicate changes made to the code.
7. Any modifications of this code base MUST be distributed with the same license, GPLv3.
8. This software is provided without warranty.
9. The software author or license can not be held liable for any damages inflicted by the software.
For more details see the license file.
Please open an issue in the GitHub repository if you have any questions or feedback.