提交 5d3b9ce5 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!275 Fix spelling mistakes in visuzalization tutorials

Merge pull request !275 from ougongchang/fix_summary
......@@ -65,10 +65,10 @@ model = Model(network, loss, opt)
ds_train = create_dataset('./dataset_path')
# Init a SummaryCollector callback instance, and use it in model.train or model.eval
summmary_collector = SummaryCollector(summary_dir='./summary_dir', collect_freq=1)
summary_collector = SummaryCollector(summary_dir='./summary_dir', collect_freq=1)
# Note: dataset_sink_mode should be set to False, else you should modify collect freq in SummaryCollector
model.train(epoch=1, ds_train, callbacks=[summmary_collector], dataset_sink_mode=False)
model.train(epoch=1, ds_train, callbacks=[summary_collector], dataset_sink_mode=False)
ds_eval = create_dataset('./dataset_path')
model.eval(ds_eval, callbacks=[summary_collector])
......
......@@ -71,10 +71,10 @@ model = Model(network, loss, opt)
ds_train = create_dataset('./dataset_path')
# Init a SummaryCollector callback instance, and use it in model.train or model.eval
summmary_collector = SummaryCollector(summary_dir='./summary_dir', collect_freq=1)
summary_collector = SummaryCollector(summary_dir='./summary_dir', collect_freq=1)
# Note: dataset_sink_mode should be set to False, else you should modify collect freq in SummaryCollector
model.train(epoch=1, ds_train, callbacks=[summmary_collector], dataset_sink_mode=False)
model.train(epoch=1, ds_train, callbacks=[summary_collector], dataset_sink_mode=False)
ds_eval = create_dataset('./dataset_path')
model.eval(ds_eval, callbacks=[summary_collector])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册