Skip to content

Commit f8ec986

Browse files
zsdonghaoJonathan DEKHTIAR
authored andcommitted
Update utils.py (#813)
1 parent f1e7d01 commit f8ec986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorlayer/files/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1640,7 +1640,7 @@ def load_npz(path='', name='model.npz'):
16401640
- `Saving dictionary using numpy <http://stackoverflow.com/questions/22315595/saving-dictionary-of-header-information-using-numpy-savez>`__
16411641
16421642
"""
1643-
d = np.load(path + name)
1643+
d = np.load(os.path.join(path, name))
16441644
return d['params']
16451645

16461646

0 commit comments

Comments
 (0)