Replies: 1 comment 2 replies
-
Hi @shayp, I am having the same issue and posted it on #360. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having difficulties running prediction on a new test data set on MultiInputNet (TabModel and tsmodel).
Iv'e Created dl for each input and combined it into MixedDataLoader.
`
test_dl_tab = tab_dls.test_dl(X_features_test)
test_dl_sig = ts_dls.new_dl(X=X_signal_test, y=y_test)
mixed_test_dls = [test_dl_sig, test_dl_tab]
device = mixed_dls.train.device
mixed_test_dl = MixedDataLoader(*mixed_test_dls, shuffle=False)
test_probas, test_targets, test_preds = learn.get_preds(dl=mixed_test_dl, with_decoded=True,save_preds=None,save_targs=None,with_loss=False)
`
But when running learn.get_preds I get
TypeError: cross_entropy_loss(): argument 'target' (position 2) must be Tensor, not tuple
Beta Was this translation helpful? Give feedback.
All reactions