From 0a592ce0d717df55d134a7f4ac48f09156cb9153 Mon Sep 17 00:00:00 2001 From: Hao Date: Fri, 31 Aug 2018 13:11:48 +0100 Subject: [PATCH] Update utils.py --- tensorlayer/files/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorlayer/files/utils.py b/tensorlayer/files/utils.py index 911070333..c87d7e809 100644 --- a/tensorlayer/files/utils.py +++ b/tensorlayer/files/utils.py @@ -1640,7 +1640,7 @@ def load_npz(path='', name='model.npz'): - `Saving dictionary using numpy `__ """ - d = np.load(path + name) + d = np.load(os.path.join(path, name)) return d['params']