-
Notifications
You must be signed in to change notification settings - Fork 257
Description
I get this error when running the trading_algo.py:
`ValueError Traceback (most recent call last)
in ()
----> 1 model.predict([[ohlcv], [ind]])
3 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/data_adapter.py in init(self, x, y, sample_weights, sample_weight_modes, batch_size, epochs, steps, shuffle, **kwargs)
280 label, ", ".join(str(i.shape[0]) for i in nest.flatten(data)))
281 msg += "Please provide data which shares the same first dimension."
--> 282 raise ValueError(msg)
283 num_samples = num_samples.pop()
284 `
ValueError: Data cardinality is ambiguous:
x sizes: 50, 1
Please provide data which shares the same first dimension.
Can anyone advise what the issue is?