darelab2014 / Dinopore

DInoPORE: Direct detection of INOsines in native RNA with nanoPORE sequencing
16 stars 3 forks source link

Error in py_call_impl when executing s6.Predict_test_data.R #10

Open creaturemoon opened 1 year ago

creaturemoon commented 1 year ago

Hello, I was able to run Dinopore up to the script#6 in accordance with your instructions.When my data reaches s6.Predict_test_data.R in manuscript2.sh I'm getting this error and the process gets killed:

Error in py_call_impl(callable, call_args$unnamed, call_args$named) : 
  TypeError: Error when deserializing class 'Add' using config={'name': 'add_30', 'trainable': None, 'dtype': 'float32'}.
Exception encountered: Expected `trainable` argument to be a boolean, but got: None
Run `reticulate::py_last_error()` for details.
Calls: load_model_hdf5 ... load_model -> do.call -> <Anonymous> -> py_call_impl
Execution halted

This is my command line code:

bash /nfs_data/liumy/01.project_sg-nex/results/dinoporetest_1/Dinopore-main/code/mainscript2.sh -e  /nfs_data/liumy/01.project_sg-nex/results/dinoporetest_1/ -r /nfs_data/liumy/01.project_sg-nex/results/isoquanttest/3bamsresult/Homo_sapiens.GRCh38.dna_sm.primary_assembly.fa -n 32 -g fast5_pass -c /nfs_data/liumy/01.project_sg-nex/results/dinoporetest_1/Dinopore-main/code/misc/Example_classref.tsv

Thank you