From e89af968b069e0828847e5839f17d0ee607aa320 Mon Sep 17 00:00:00 2001 From: peterzhang2029 Date: Fri, 13 Oct 2017 18:17:53 +0800 Subject: [PATCH] add requirements.txt --- nested_sequence/text_classification/README.md | 5 ++++- nested_sequence/text_classification/index.html | 5 ++++- nested_sequence/text_classification/requirements.txt | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 nested_sequence/text_classification/requirements.txt diff --git a/nested_sequence/text_classification/README.md b/nested_sequence/text_classification/README.md index e066a480..ca272a80 100644 --- a/nested_sequence/text_classification/README.md +++ b/nested_sequence/text_classification/README.md @@ -60,7 +60,10 @@ prob = paddle.layer.mixed(size=class_num, input=[paddle.layer.full_matrix_projection(input=avg_pool)], act=paddle.activation.Softmax()) ``` - +## 安装依赖包 +```bash +pip install -r requirements.txt +``` ## 使用 PaddlePaddle 内置数据运行 diff --git a/nested_sequence/text_classification/index.html b/nested_sequence/text_classification/index.html index e5fdfbb9..de060506 100644 --- a/nested_sequence/text_classification/index.html +++ b/nested_sequence/text_classification/index.html @@ -102,7 +102,10 @@ prob = paddle.layer.mixed(size=class_num, input=[paddle.layer.full_matrix_projection(input=avg_pool)], act=paddle.activation.Softmax()) ``` - +## 安装依赖包 +```bash +pip install -r requirements.txt +``` ## 使用 PaddlePaddle 内置数据运行 diff --git a/nested_sequence/text_classification/requirements.txt b/nested_sequence/text_classification/requirements.txt new file mode 100644 index 00000000..dca9a909 --- /dev/null +++ b/nested_sequence/text_classification/requirements.txt @@ -0,0 +1 @@ +click -- GitLab