Traceback (most recent call last):


 "Intro_Tutorial_3.py", line 45, in <module>

train_marginals = load_marginals(session, split=0)


 "/home/mldl/ub16_prj/snorkel/snorkel/annotations.py", line 567, in load_marginals

cardinality = session.query(Candidate).get(marginal_tuples[0][0]).cardinality
IndexError: list index out of range

Traceback (most recent call last):


 "test.py", line 13, in <module>

model.add(RNN(tf.contrib.rnn.TimeFreqLSTMCell(32,feature_size=5), input_shape=(timeLength,n_features), return_sequences=True))


 ".local/lib/python2.7/site-packages/keras/engine/sequential.py", line 165, in add

layer(x)


 ".local/lib/python2.7/site-packages/keras/layers/recurrent.py", line 532, in __call__

return super(RNN, self).__call__(inputs, **kwargs)


 ".local/lib/python2.7/site-packages/keras/engine/base_layer.py", line 457, in __call__

output = self.call(inputs, **kwargs)


 ".local/lib/python2.7/site-packages/keras/layers/recurrent.py", line 649, in call

input_length=timesteps)


 ".local/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 2922, in rnn

outputs, _ = step_function(inputs[0], initial_states + constants)


 ".local/lib/python2.7/site-packages/keras/layers/recurrent.py", line 640, in step

return self.cell.call(inputs, states, **kwargs)


 ".local/lib/python2.7/site-packages/tensorflow/contrib/rnn/python/ops/rnn_cell.py", line 411, in call

actual_input_size = freq_inputs[0].get_shape().as_list()[1]
IndexError: list index out of range
