Replies: 5 comments 5 replies
|
I have also tried doing this this one actually seems to work the best so far? I know that it only uses on GPU. The main issue appears to be that since it is running immediately after the Futzing with it more: and then I still get the same error: |
|
Instead of using a Callback, and trying to use loops as per #10393: I add this code suggested by @tchaton and @carmocca after creating my trainer: However, So the above isn't calling with the appropriate dataset :\ |
|
I verified before that This actually causes a crash after Epoch 0 finishes right as Epoch 1 starts with the following error: (I still get no predictions being performed.) |
|
Because the predict_dataloaders are None, I try to fix the loop as follows: In this case, the code recommended by @carmocca and @tchaton doesn't work either. I now have a predict_dataloader, but the predict_loop doesn't read anything and ends instantly. (I have a print statement in each prediction_step() which is not triggering.) |
Uh oh!
There was an error while loading. Please reload this page.
I've been trying to figure this out for nearly two days straight and it's very frustrating :(
Periodically, during training, I want to run the model on a bunch of data that has no labels, and log that. Let's just say that's my predict data and I'll do it at the end of validation, to keep it simple.
I'm trying several callbacks and none works:
and I get:
Or if I try to write the predict loop myself:
then I get the following error:
which is even more confusing and gnarly.
All I want is to run my model on a particular unlabelled dataset and log the predictions periodically. But I really can't figure this out for the life of me. Help!
Related:
All reactions