A project for fpga implementation of neural networks
Add the shakti project path to the PYTHONPATH environment variable like below
export PYTHONPATH=path/to/shakti/lib
Ex: if the shakti project is in /home/user/shakti
add to ~/.bashrc the following lines
export PYTHONPATH=/home/user/shakti/lib
Now one should be able to continue with simulations
Ubuntu 16.04 or higher
- Create a virtualenvironment for myhdl like below
cd shakti
./run_venv.sh -c
Now a virtual environment is created with all required packages installed
To activate virtualenv:
source myhdl_env/bin/activate
cd lib/frameworks/logistic_regression/
./run.py -s
To deactivate virtualenv:
deactivate