From ae7fc6d0a0c0441cd561771cff43e8aec257e1a8 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 22 Jul 2020 10:40:43 +0800 Subject: [PATCH] Create README.md --- .../train/image_classification/README.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tutorials/train/image_classification/README.md diff --git a/tutorials/train/image_classification/README.md b/tutorials/train/image_classification/README.md new file mode 100644 index 0000000..9d09c6e --- /dev/null +++ b/tutorials/train/image_classification/README.md @@ -0,0 +1,20 @@ +# 图像分类训练示例 + +本目录下为图像分类示例代码,用户在安装完PaddlePaddle和PaddleX即可直接进行训练。 + +- [PaddlePaddle安装](https://www.paddlepaddle.org.cn/install/quick) +- [PaddleX安装](https://paddlex.readthedocs.io/zh_CN/develop/install.html) + +## 模型训练 +如下所示,直接下载代码后运行即可,代码会自动下载训练数据 +``` +python mobilenetv3_small_ssld.py +``` + +## VisualDL可视化训练指标 +在模型训练过程,在`train`函数中,将`use_vdl`设为True,则训练过程会自动将训练日志以VisualDL的格式打点在`save_dir`(用户自己指定的路径)下的`vdl_log`目录,用户可以使用如下命令启动VisualDL服务,查看可视化指标 +``` +visualdl --logdir output/mobilenetv3_small_ssld/vdl_log --port 8001 +``` + +服务启动后,使用浏览器打开 https://0.0.0.0:8001 或 https://localhost:8001 -- GitLab