You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: