printf"The Keras is necessary so that it is possible to use CNN. It is recommended to install the version for GPU processing (if available) but it is also possible to use CPU processing.\n"
printf"To install the GPU version (tricky) follow the steps at: https://www.tensorflow.org/install/install_linux"
printf"${NC}\n"
read-p"Would you like to install keras CPU libraries? [y/n]"-n 1 -r
echo
if[[$REPLY=~ ^[Yy]$ ]]
then
echo"[PYNOVISAO INSTALLER] Installing keras libraries..."
sudo pip3 install tensorflow
sudo pip3 install keras
fi
echo
printf"${BLUE}[PYNOVISAO INSTALLER] Installation completed for Python 3!${NC}"
echo
fi
read-p"Would you like to install the requirements for python2 usage? [y/n]"-n 1 -r
printf"The Keras is necessary so that it is possible to use CNN. It is recommended to install the version for GPU processing (if available) but it is also possible to use CPU processing.\n"
printf"To install the GPU version (tricky) follow the steps at: https://www.tensorflow.org/install/install_linux"
printf"${NC}\n"
read-p"Would you like to install keras CPU libraries? [y/n]"-n 1 -r
echo
if[[$REPLY=~ ^[Yy]$ ]]
then
echo"[PYNOVISAO INSTALLER] Installing keras libraries..."
sudo pip install tensorflow
sudo pip install keras
fi
echo
printf"${BLUE}[PYNOVISAO INSTALLER] Installation completed for Python 2!${NC}"