-
Hello, I am trying a simple code like x_t, y_t = torch.ones(4, 14).int(), torch.ones(4)
net = Dnn(feature_columns)
inner_opt = torchopt.MetaAdam(net, lr=1e-2)
net.train()
for i in range(10):
loss = loss_func(net(x_t), y_t.view(-1, 1))
inner_opt.step(loss)
print(loss) I expect that I meant to have something similar to the example I am not sure if i have made any mistakes here Please find this notebook for details and preproduction |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@xianghang Thanks for reporting this. It's a bug and has already been fixed by 714f99d. New wheels will be released about an hour later. |
Beta Was this translation helpful? Give feedback.
@xianghang Thanks for reporting this. It's a bug and has already been fixed by 714f99d. New wheels will be released about an hour later.