AI: Image recognition
pip install virtualenv
cd ./T-DEV-810/
virtualenv -p python3.7 venv3.7
Ubuntu :
source venv3.7/bin/activate
Windows:
venv3.7\Scripts\activate.bat
pip install <module>
pip freeze > requirements3.7.txt
pip install -r requirements3.7.txt
deactivate
jupyter only works with python2.7
cd ./T-DEV-810/
pip install virtualenv
virtualenv -p python2.7 venv2.7
source venv2.7/bin/activate
: to activate virtual environment
pip install -r requirements2.7.txt
jupyter notebook notebook-1.ipynb
deactivate
: deactivate virtual environment
Edit init_or_load_then_train_main.py : CnnModel(filename, inputShape, 3, False) => CnnModel(filename, inputShape, 3, True)
python init_or_load_then_train_main.py ${model_log_folder}
tensorboard --logdir logs/fit
: default:: /localhost:6006/