提交 4d77dc06 编写于 作者: C caoying03

fix a bug in text classification demo.

上级 3a0bb1c0
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
import os import os
import sys import sys
import gzip import gzip
import pdb
import paddle.v2 as paddle import paddle.v2 as paddle
import config as conf import config as conf
......
...@@ -8,7 +8,7 @@ import paddle.v2 as paddle ...@@ -8,7 +8,7 @@ import paddle.v2 as paddle
import reader import reader
from network_conf import fc_net, convolution_net from network_conf import fc_net, convolution_net
from utils import logger, load_dict from utils import logger, load_dict, load_reverse_dict
def infer(topology, data_dir, model_path, word_dict_path, label_dict_path, def infer(topology, data_dir, model_path, word_dict_path, label_dict_path,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册