Closed ajlee21 closed 6 years ago
Thanks @ajlee21 - if possible, can you post the error here?
Tybalt currently uses Keras 2.0.6 and tensorflow 1.0.1 but its probably time for an update and for this to be fixed.
Using TensorFlow backend. /home/alexandra/anaconda2/envs/python3/lib/python3.6/site-packages/ipykernel_launcher.py:135: UserWarning: Output "custom_variational_layer_1" missing from loss dictionary. We assume this was done on purpose, and we will not be expecting any data to be passed to "custom_variational_layer_1" during training.
ValueError Traceback (most recent call last)
It looks like Keras 2.1.3 (source) expects the argument to be:
validation_data=(x_array, None)
# instead of the previously required
validation_data=(x_array, x_array)
I saw this solution in keras-team/keras#7856
I can confirm this works in fitting Tybalt
print(keras.__version__)
tf.__version__
2.1.3
'1.4.1'
Error using Keras version 2.1.3 and tensorflow version 1.5.0
https://github.com/gwaygenomics/tybalt/blob/84c6079f98ac4aa9269eead0afbd424369a94d20/scripts/vae_pancancer.py#L163