Open wangqiqi1995 opened 2 years ago
What versions of python, tensorflow, and keras are you using? The current version of maui is a bit finicky about versions..
I have read you versions in other issue, and change my packages versions to Keras 2.2.5 Keras-Applications 1.0.8 Keras-Preprocessing 1.1.2 maui-tools 0.1.95 tensorflow 1.14.0 Python 3.6.13 but I get the error : K.set_session(K.tf.Session(config=K.tf.ConfigProto(intra_op_parallelism_threads=1, inter_op_parallelism_threads=1))) AttributeError: module 'keras.backend' has no attribute 'tf' Could you give me some suggestion about versions?
I think in the other issue I specified Keras==2.2.4
. If you'd like to use 2.2.5 for whatever reason (please let me know if it works!), it doesn't have K.tf
, so you'll have to use the tensorflow library directly to set the maximum number of threads. See https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/config/threading
when I run the code "time z = maui_model.fit_transform({'mRNA': gex, 'Mutations': mut, 'CNV': cnv})",I get the error : TypeError: compile() missing 1 required positional argument: 'loss' Could you know where the trouble is ?