CHEUI
CHEUI copied to clipboard
transpose expects a vector of size 3. But input(1) is a vector of size 4
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.