This repository offers different synthetic A.I. applications and implementations.
To run the notebooks, you may want to follow these steps.
The project contains a Makefile so that useful but long commands can be run without too much thinking. Besides, mypy, pylint are also configured.
A .env file lets you choose the project's name, the Python version and more stuff. Check the file please.
Make sure you have Python >=3.9 (3.10.10 recommended).
Create a virtual environment with any tool you prefer.
Use any tool to create a virtual environment with the indicated Python version.
With Pyenv (recommended, here is the installer), it is very easy to install the Python version you want, create a virtual environment and activate it.
Once Pyenv is installed, run:
pyenv install 3.10.10
pyenv virtualenv 3.10.10 <project-name>
pyenv activate <project-name>Once the virtual environment is active, install all dependencies by running:
make installFor this command to work, you have to make sure that the python command resolves to the correct virtual environment (the one you just created).
Build project's image as follows:
make buildThe present folder will be mounted at /workdir.
Run:
make pytestSee the notebooks folder.