Difference between revisions of "Hood Ubuntu TensorFlow Object Detection 20211218"

From wikidb
Jump to: navigation, search
(Configure Training Pipeline)
(Configure Training Pipeline)
Line 46: Line 46:
 
   $ mkdir ssd_mobilenet_v2_fpnlite_640x640
 
   $ mkdir ssd_mobilenet_v2_fpnlite_640x640
 
   
 
   
   $ mv pipeline.config ssd_mobilenet_v2_fpnlite_640x640/
+
   $ mv pipeline.config ssd_mobilenet_v2_fpnlite_640x640/  
 +
 
 +
  $ tree
 +
        .
 +
        ├── models
 +
        │   └── ssd_mobilenet_v2_fpnlite_640x640
 +
        │              └── pipeline.config
 +
        └── pre-trained-models
 +
            └── ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8
 +
                ├── checkpoint
 +
                │   ├── checkpoint
 +
                │   ├── ckpt-0.data-00000-of-00001
 +
                │   └── ckpt-0.index
 +
                ├── pipeline.config
 +
                └── saved_model
 +
                    ├── saved_model.pb
 +
                    └── variables
 +
                        ├── variables.data-00000-of-00001
 +
                        └── variables.index

Revision as of 12:33, 28 December 2021

Resources

Download Pre-Trained Model

Extract

 $ mv ~/Downloads/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8.tar.gz .

 $ tar -xf ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8.tar.gz 

 $ sudo apt install tree

 $ tree ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8

       ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8
       ├── checkpoint
       │   ├── checkpoint
       │   ├── ckpt-0.data-00000-of-00001
       │   └── ckpt-0.index
       ├── pipeline.config
       └── saved_model
           ├── saved_model.pb
           └── variables
               ├── variables.data-00000-of-00001
               └── variables.index

       3 directories, 7 files

Configure Training Pipeline

 $ cd training_demo/

 $ mkdir models

 $ cd models/

 $ cp ../pre-trained-models/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8/pipeline.config .

 $ mkdir ssd_mobilenet_v2_fpnlite_640x640

 $ mv pipeline.config ssd_mobilenet_v2_fpnlite_640x640/ 
 $ tree
       .
       ├── models
       │   └── ssd_mobilenet_v2_fpnlite_640x640
       │               └── pipeline.config
       └── pre-trained-models
           └── ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8
               ├── checkpoint
               │   ├── checkpoint
               │   ├── ckpt-0.data-00000-of-00001
               │   └── ckpt-0.index
               ├── pipeline.config
               └── saved_model
                   ├── saved_model.pb
                   └── variables
                       ├── variables.data-00000-of-00001
                       └── variables.index