提交 d432c6de 编写于 作者: Y yingchen

fix docs

上级 f3f7ba7d
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
- [Configuring Environment Information](#configuring-environment-information) - [Configuring Environment Information](#configuring-environment-information)
- [Preprocessing the Dataset](#preprocessing-the-dataset) - [Preprocessing the Dataset](#preprocessing-the-dataset)
- [Defining the Network](#defining-the-network) - [Defining the Network](#defining-the-network)
- [Pre-Traning](#pre-training) - [Pre-Training](#pre-training)
- [Defining the Optimizer and Loss Function](#defining-the-optimizer-and-loss-function) - [Defining the Optimizer and Loss Function](#defining-the-optimizer-and-loss-function)
- [Training and Saving the Model](#training-and-saving-the-model) - [Training and Saving the Model](#training-and-saving-the-model)
- [Validating the Model](#validating-the-model) - [Validating the Model](#validating-the-model)
......
...@@ -285,7 +285,7 @@ In the saved files, `ms_output_after_hwopt.pb` is the computational graph after ...@@ -285,7 +285,7 @@ In the saved files, `ms_output_after_hwopt.pb` is the computational graph after
Right code: Right code:
```python3 ```python3
...示例 ...
summary_collector = SummaryCollector('./summary_dir') summary_collector = SummaryCollector('./summary_dir')
model.train(epoch=2, train_dataset, callbacks=[summary_collector]) model.train(epoch=2, train_dataset, callbacks=[summary_collector])
... ...
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册