-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error about meta_optimizer and new data #15
Comments
Maybe you need to provide a little bit more details. This could happen for many reasons:
|
mmm I see. I really don't know at this point. I suggest going step by step inside the do_evaluation function to check where the loss gets none. Sorry I cannot help much here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! I use my own data to train your model. After line 170
meta_optimizer.step()
is executed, line 150val_loss, v_ppl = do_learning_fix_step(meta_net, train_iter, val_iter, iterations=config.meta_iteration)
outputsval_loss
astensor(nan, device='cuda:0', grad_fn=<AddBackward>)
, which causes the training failure. I didn't change your code but persona_map, and I want to know what went wrong. Thanks!The text was updated successfully, but these errors were encountered: