提交 646f80f7 编写于 作者: Y yingchen

fix bugs for docs

上级 aa302d75
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,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)
......
...@@ -342,7 +342,7 @@ For more parameter Settings, see the [MindInsight related commands](https://www. ...@@ -342,7 +342,7 @@ For more parameter Settings, see the [MindInsight related commands](https://www.
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.
先完成此消息的编辑!
想要评论请 注册