You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by sk...@apache.org on 2018/08/17 15:52:21 UTC
[incubator-mxnet] branch master updated: Fix typo. (#12211)
This is an automated email from the ASF dual-hosted git repository.
skm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 38bcb88 Fix typo. (#12211)
38bcb88 is described below
commit 38bcb88ea508712d02d1f2a2366f122eff6690d8
Author: Huilin Qu <hq...@users.noreply.github.com>
AuthorDate: Fri Aug 17 17:52:13 2018 +0200
Fix typo. (#12211)
---
amalgamation/python/mxnet_predict.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/amalgamation/python/mxnet_predict.py b/amalgamation/python/mxnet_predict.py
index ca72e9a..091bfbb 100644
--- a/amalgamation/python/mxnet_predict.py
+++ b/amalgamation/python/mxnet_predict.py
@@ -65,8 +65,8 @@ def _find_lib_path():
except ImportError:
libinfo_path = os.path.join(curr_path, '../../python/mxnet/libinfo.py')
if os.path.exists(libinfo_path) and os.path.isfile(libinfo_path):
- libinfo = {'__file__': libinfo_py}
- exec(compile(open(libinfo_py, "rb").read(), libinfo_py, 'exec'), libinfo, libinfo)
+ libinfo = {'__file__': libinfo_path}
+ exec(compile(open(libinfo_path, "rb").read(), libinfo_path, 'exec'), libinfo, libinfo)
lib_path = libinfo['find_lib_path']()
return lib_path
else: