CHEUI icon indicating copy to clipboard operation
CHEUI copied to clipboard

transpose expects a vector of size 3. But input(1) is a vector of size 4

Open Madhurananda opened this issue 2 years ago • 0 comments

Hello there,

I came across an error message while running the final site-based prediction: '../scripts/CHEUI_predict_model2.py' "transpose expects a vector of size 3. But input(1) is a vector of size 4"

I found the fix. In '../scripts/CHEUI_predict_model2.py', change the following lr_probs = model.predict(prob_vectors) to: lr_probs = model.predict(prob_vectors.reshape(prob_vectors.shape[0], 99, 1))

I am not sure if others have also experienced the same, but just wanted to share this anyway. Hope this helps.

Madhurananda avatar Jun 30 '23 20:06 Madhurananda