darelab2014 / Dinopore

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

Error in py_call_impl S6 #4

Open acarmas1 opened 1 year ago

acarmas1 commented 1 year ago

Hello,

I was able to run Dinopore up to the script#6. However, when my data reaches s6.Predict_test_data.R

I'm getting this error and the process gets killed:

Error in py_call_impl(callable, dots$args, dots$keywords) : ValueError: Expect x to be a non-empty array or dataset.

Detailed traceback: File "/opt/conda/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 1644, in predict raise ValueError('Expect x to be a non-empty array or dataset.') Calls: predict ... predict.keras.engine.training.Model -> do.call -> -> py_call_impl Execution halted

Please if someone can help me troubleshooting I'll appreciate it.

Thank you Camila

zjzace commented 1 year ago

I also encountered this error. So I run the s6 R script line by line, and found that id=pred.2modelcov40$id[pred.2modelcov40$pred %in% c("1")] returns an empty vector which means that no Inosine was reported by the prediction.

I don't believe there is no Inosine in my dataset.

Really appreciate if someone can help me out.