jonny-d / Tensorflow_mLSTM

Train an mLSTM language model in Tensorflow
20 stars 5 forks source link

How to train the model on linux? #6

Open yashkumaratri opened 6 years ago

yashkumaratri commented 6 years ago

installed caffiene and configured caffienate still getting this

 python train_mLSTM.py 
/home/crisp/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
/home/crisp/anaconda3/lib/python3.6/site-packages/caffeine.py:77: UserWarning: This package is designed for use on Mac OS X; use on other systems may cause errors and will probably fail.
  warnings.warn('This package is designed for use on Mac OS X; use on other systems may cause errors and will probably fail.')
Traceback (most recent call last):
  File "train_mLSTM.py", line 60, in <module>
    loader = DataLoader(data_dir, batch_size, seq_length)
  File "/home/crisp/Downloads/Tensorflow_mLSTM/Utilities.py", line 20, in __init__
    input_file = os.path.join(data_dir, "input.txt")
  File "/home/crisp/anaconda3/lib/python3.6/posixpath.py", line 78, in join
    a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
/usr/bin/caffeinate: 22: /usr/bin/caffeinate: -is: not found

Any solution?