提交 cc71c7b9 编写于 作者: L LiuChiaChi

fix test_model.py bug, correct initialization of MyModel

上级 8dcc03ae
......@@ -616,7 +616,7 @@ class TestRaiseError(unittest.TestCase):
def test_export_deploy_model_without_inputs_and_run_in_dygraph(self):
paddle.disable_static()
net = MyModel(classifier_activation=None)
net = MyModel()
save_dir = tempfile.mkdtemp()
if not os.path.exists(save_dir):
os.makedirs(save_dir)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册