Updated retrain script. Add retrained graph.
This commit is contained in:
parent
dadab8cc54
commit
dfa0d87971
@ -1070,13 +1070,13 @@ if __name__ == '__main__':
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--image_dir',
|
'--image_dir',
|
||||||
type=str,
|
type=str,
|
||||||
default='',
|
default='../../Images/TrainingImages',
|
||||||
help='Path to folders of labeled images.'
|
help='Path to folders of labeled images.'
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--output_graph',
|
'--output_graph',
|
||||||
type=str,
|
type=str,
|
||||||
default='/tmp/output_graph.pb',
|
default='../../Model/retrained_graph.pb',
|
||||||
help='Where to save the trained graph.'
|
help='Where to save the trained graph.'
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
@ -1097,13 +1097,13 @@ if __name__ == '__main__':
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--output_labels',
|
'--output_labels',
|
||||||
type=str,
|
type=str,
|
||||||
default='/tmp/output_labels.txt',
|
default='../../Model/retrained_labels.txt',
|
||||||
help='Where to save the trained graph\'s labels.'
|
help='Where to save the trained graph\'s labels.'
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--summaries_dir',
|
'--summaries_dir',
|
||||||
type=str,
|
type=str,
|
||||||
default='/tmp/retrain_logs',
|
default='/retrain_logs',
|
||||||
help='Where to save summary logs for TensorBoard.'
|
help='Where to save summary logs for TensorBoard.'
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
@ -1235,7 +1235,7 @@ if __name__ == '__main__':
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--saved_model_dir',
|
'--saved_model_dir',
|
||||||
type=str,
|
type=str,
|
||||||
default='',
|
default='../../Model',
|
||||||
help='Where to save the exported graph.')
|
help='Where to save the exported graph.')
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--logging_verbosity',
|
'--logging_verbosity',
|
||||||
|
BIN
Model/retrained_graph.pb
Normal file
BIN
Model/retrained_graph.pb
Normal file
Binary file not shown.
4
Model/retrained_labels.txt
Normal file
4
Model/retrained_labels.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
glass
|
||||||
|
metal
|
||||||
|
paper
|
||||||
|
plastic
|
BIN
Model/saved_model.pb
Normal file
BIN
Model/saved_model.pb
Normal file
Binary file not shown.
BIN
Model/variables/variables.data-00000-of-00001
Normal file
BIN
Model/variables/variables.data-00000-of-00001
Normal file
Binary file not shown.
BIN
Model/variables/variables.index
Normal file
BIN
Model/variables/variables.index
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user