To activate the virtual environment:
source tf2_api_env/bin/activate
cd ~/Downloads/Tensorflow
To run the jupyter notebok use:
python3 -m notebook
or
jupyter notebook
To train, use:
python ~/Downloads/Tensorflow/models/research/object_detection/model_main_tf2.py --model_dir=Tensorflow/workspace/models/my_ssd_mobnet --pipeline_config_path=Tensorflow/workspace/models/my_ssd_mobnet/pipeline.config --num_train_steps=5000
Environment instalation tutorial: https://neptune.ai/blog/how-to-train-your-own-object-detector-using-tensorflow-object-detection-api
Implementation tutorial: https://www.youtube.com/watch?v=pDXdlXlaCco
- Tirar as fotos que servirão para treinar a IA.
- Foram 426 fotos (16 por letra do alfabeto).
- Rotular as fotos usando labelImg.
- Criar um label map.
- Treinar.