pip install gate
or install it on development mode:
git clone https://github.com/mertyildiran/GateFactory.git
cd GateFactory/
pip install -e .
git clone https://github.com/mertyildiran/GateFactory.git
cd GateFactory/
python3 examples/classification_easy.py
Download CIFAR-10 python version and place CIFAR-10/original/cifar-10-batches-py/
folder inside GateFactory/examples/
directory like:
cd ~/Downloads/
wget https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz
tar -zxvf cifar-10-python.tar.gz
mv cifar-10-batches-py/ ~/Documents/GateFactory/examples/
and then run the example:
cd ~/Documents/GateFactory/
python3 examples/classification_medium.py
apt install texlive texlive-pictures
pdflatex factory.tex
sensible-browser factory.pdf