RobRomijnders / LSTM_tsc

An LSTM for time-series classification
MIT License
408 stars 146 forks source link

Tensor Flow 1.5 needs the following code modifications to work. #14

Open command-paul opened 6 years ago

command-paul commented 6 years ago

in tsc_model.py

from::

from tensorflow.contrib.rnn.python.ops import core_rnn

to::

import tensorflow.contrib.rnn as core_rnn

No check_test in model.py

In tsc_main .py , from::

from tsc_model import Model,sample_batch,load_data,check_test

to::

from tsc_model import Model,sample_batch,load_data

Some Datasets like ECG200 have Negative class labels which makes the softmax classifier fail.