From 35f5811016ad9659c671326bc60de6c3bcd8bad6 Mon Sep 17 00:00:00 2001 From: sunyanfang01 Date: Tue, 19 May 2020 20:13:42 +0800 Subject: [PATCH] fix the interpret --- paddlex/interpret/visualize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlex/interpret/visualize.py b/paddlex/interpret/visualize.py index 2810846..db31c03 100644 --- a/paddlex/interpret/visualize.py +++ b/paddlex/interpret/visualize.py @@ -110,7 +110,7 @@ def get_normlime_interpreter(img, model, dataset, num_samples=3000, batch_size=5 if dataset is not None: labels_name = dataset.labels root_path = os.environ['HOME'] - root_path = osp.join(root_path, '.paddlex0') + root_path = osp.join(root_path, '.paddlex') pre_models_path = osp.join(root_path, "pre_models") if not osp.exists(pre_models_path): os.makedirs(root_path) -- GitLab