Hello!
Thank you for releasing your project code, and especially the notebooks hosted on nbviewer!
When running Notebook 1: Engineering Splicing Isoforms (HEK) from the Alternative Splicing notebooks I get the following error:
ValueError: ``input_tensor.dtype`` differs from ``dtype``. Received: input_tensor.dtype=<dtype: 'float32'> but expected dtype=int32
With regards to line
|
sequence_class_input = Input(tensor=K.ones((batch_size, 1)), dtype='int32', name='sequence_class_seed') |
Per the TF docs, K.ones in this case returns a tensor of dtype=tf.dtypes.float32. Changing the dtype for that Input from 'int32' to 'float32' fixed it for me. I can open a PR for that if you'd like.
Hello!
Thank you for releasing your project code, and especially the notebooks hosted on
nbviewer!When running Notebook 1: Engineering Splicing Isoforms (HEK) from the Alternative Splicing notebooks I get the following error:
ValueError: ``input_tensor.dtype`` differs from ``dtype``. Received: input_tensor.dtype=<dtype: 'float32'> but expected dtype=int32With regards to line
genesis/genesis/generator/genesis_generator.py
Line 131 in 5424c18
Per the TF docs,
K.onesin this case returns a tensor ofdtype=tf.dtypes.float32. Changing thedtypefor thatInputfrom'int32'to'float32'fixed it for me. I can open a PR for that if you'd like.