TF笔记

anaconda prompt

pip install --upgrade --ignore-installed tensorflow

Google Object Detection API

http://blog.csdn.net/qq_35167683/article/details/79204265

python object_detection/dataset_tools/create_pascal_tf_record4raccoon.py --data_dir=C:\TF\raccoon_dataset-master\images --set=C:\TF\raccoon_dataset-master\train.txt --output_path=C:\TF\raccoon_dataset-master\train.record --label_map_path=C:\TF\raccoon_dataset-master\raccoon_label_map.pbtxt --annotations_dir=C:\TF\raccoon_dataset-master\annotations

python object_detection/dataset_tools/create_pascal_tf_record4raccoon.py --data_dir=C:\TF\raccoon_dataset-master\images --set=C:\TF\raccoon_dataset-master\val.txt --output_path=C:\TF\raccoon_dataset-master\val.record --label_map_path=C:\TF\raccoon_dataset-master\raccoon_label_map.pbtxt --annotations_dir=C:\TF\raccoon_dataset-master\annotations

python train.py --logtostderr --pipeline_config_path=C:\TF\raccoon_ataset-master\ssd_mobilenet_v1_raccoon.config --train_dir=C:\TF\raccoon_dataset-master\train

python eval.py --logtostderr --pipeline_config_path=C:\TF\raccoon_ataset-master\ssd_mobilenet_v1_raccoon.config --checkpoint_dir=C:\TF\raccoon_dataset-master\train --eval_dir=C:\TF\raccoon_dataset-master\eval

tensorboard --logdir=C:\TF\raccoon_dataset-master\

python export_inference_graph.py --pipeline_config_path=C:\TF\raccoon_dataset-master\ssd_mobilenet_v1_raccoon.config --trained_checkpoint_prefix=C:\TF\raccoon_dataset-master\train\model.ckpt-113 --output_directory=C:\TF\raccoon_dataset-master\train

python object_detection/dataset_tools/create_pascal_tf_record4raccoon.py

--data_dir=dataset\images

--set=dataset\train.txt

--output_path=dataset\train.record

--label_map_path=dataset\raccoon_label_map.pbtxt

--annotations_dir=dataset\annotations

python object_detection/dataset_tools/create_pascal_tf_record4raccoon.py

--data_dir=dataset\images

--set=dataset\val.txt

--output_path=dataset\val.record

--label_map_path=dataset\raccoon_label_map.pbtxt

--annotations_dir=dataset\annotations

python train.py

--logtostderr

--pipeline_config_path=dataset\ssd_mobilenet_v1_raccoon.config

--train_dir=dataset\train

python eval.py

--logtostderr

--pipeline_config_path=dataset\ssd_mobilenet_v1_raccoon.config

--checkpoint_dir=dataset\train

--eval_dir=dataset\eval

tensorboard --logdir=dataset\

python export_inference_graph.py

--pipeline_config_path=dataset\ssd_mobilenet_v1_raccoon.config

--trained_checkpoint_prefix=dataset\train\model.ckpt-113

--output_directory=dataset\train

你可能感兴趣的:(TF笔记)