You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TensorFlow/Classification/ConvNets/resnet50v1.5/README.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -373,7 +373,7 @@ It is recommended to finetune a model with quantization nodes rather than train
373
373
374
374
For QAT network, we use <ahref="https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/quantization/quantize_and_dequantize">tf.quantization.quantize_and_dequantize operation</a>.
375
375
These operations are automatically added at weights and activation layers in the RN50 by using `tf.contrib.quantize.experimental_create_training_graph` utility. Support for using `tf.quantization.quantize_and_dequantize`
376
-
operations for `tf.contrib.quantize.experimental_create_training_graph has been added in <ahref="https://ngc.nvidia.com/catalog/containers/nvidia:tensorflow">TensorFlow 20.01-py3 NGC container</a> and later versions, which is required for this task.
376
+
operations for `tf.contrib.quantize.experimental_create_training_graph` has been added in <ahref="https://ngc.nvidia.com/catalog/containers/nvidia:tensorflow">TensorFlow 20.01-py3 NGC container</a> and later versions, which is required for this task.
377
377
378
378
#### Post process checkpoint
379
379
*`post_process_ckpt.py` is a utility to convert the final classification FC layer into a 1x1 convolution layer using the same weights. This is required to ensure TensorRT can parse QAT models successfully.
@@ -382,6 +382,19 @@ operations for `tf.contrib.quantize.experimental_create_training_graph has been
382
382
*`--ckpt` : Path to the trained checkpoint of RN50.
383
383
*`--out` : Name of the new checkpoint file which has the FC layer weights reshaped into 1x1 conv layer weights.
384
384
385
+
### Exporting Frozen graphs
386
+
To export frozen graphs (which can be used for inference with <ahref="https://developer.nvidia.com/tensorrt">TensorRT</a>), use:
0 commit comments