Skip to content

Unu-tech/and_assignment

Repository files navigation

Setup

Clone the repository locally:

git clone git@github.com:Unu-tech/and_assignment.git
When setting up GCP VM from scratch

Setting up VM from scratch requires some additional installs. Assuming linux machine, do the following:

sudo apt-get update && sudo apt upgrade
# Following are needed for python installation with pyenv (may be redundant).
sudo apt-get install bzip2 libncurses5-dev libncursesw5-dev libffi7 libffi-dev \
 libreadline8 libreadline-dev zlib1g zlib1g-dev libssl-dev libbz2-dev libsqlite3-dev lzma liblzma-dev libbz2-dev

If there's an error due to version numbering, search for latest version.

# E: Unable to locate package libreadline5

apt-cache search libreadline

Local dev environment

Step 1: Install pyenv

python local environment is managed by pyenv. Follow the instructions here.

Once the installation on you machine done, install python version.

# install Python 3.11.11
pyenv install 3.11.11

# create new virtual environment (choose any name you like)
pyenv virtualenv 3.11.11 assign

# On the root of the repository, set the new environment as the local environment
pyenv local assign

Step 2: install dependencies

make install   # install dependencies

Training

Please feel free to check relevant configs and train.sh to understand how to use. But the easiest way is sourcing train.sh which creates logs as well.

source train.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published