(mxnet_p36) [ec2-user@master ~]$ ipython
Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 17:14:51)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import warnings
...: warnings.filterwarnings('ignore')
...:
...: import random
...: import numpy as np
...: import mxnet as mx
...: from mxnet import gluon
...: import gluonnlp as nlp
...:
...:
In [2]:
In [2]: np.random.seed(100)
...: random.seed(100)
...: mx.random.seed(10000)
...: ctx = mx.gpu(0)
...:
...:
In [3]: from bert import *
...:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-40b999f3ea6a> in <module>()
----> 1 from bert import *
ModuleNotFoundError: No module named 'bert'
Looks gluonnlp are successfully installed. Any idea?
I have problems importing
bert
when following http://gluon-nlp.mxnet.io/examples/sentence_embedding/bert.htmlLooks gluonnlp are successfully installed. Any idea?