Quick Start
There are three main ways to set up working environment for InnoFW
Pre-requisite steps
- install python 3.8-3.9 to your system
- clone project
git clone https://github.com/InnopolisUni/innofw.git
- enter the project folder
cd innofw
Using pip package manager
- create virtual environment
python -m venv venv
- activate the virtual environment
source venv/bin/activate
- install packages
pip install -r requirements.txt
Using poetry package manager
- install packages to poetry
poetry install
- enter the created virtual environment
poetry shell
Test installation
To check that project is ready run tests
pytest tests/
Extra: Using Docker
- build the docker image
docker build . -t innofw
- Start a container
sudo docker run -td innofw bash
- Find container's id
sudo docker ps
- enter the "CONTAINER ID" for latest IMAGE "innofw"
sudo docker exec -it {container_id} bash
Train a model
- create a configuration file for the experiment
python train.py experiments=KA_s39sdk32_209932_test_config
Test your model
python test.py experiments=KA_s39sdk32_209932_test_config
Make an inference
python infer.py experiments=KA_s39sdk32_209932_test_config