-
Notifications
You must be signed in to change notification settings - Fork 201
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
[Bug] TypeError: __init__() got an unexpected keyword argument 'num_entity' #126
Comments
if we don't pass optimizer = torch.optim.Adam(task.parameters(), lr=1.0e-2)
solver = core.Engine(task, train_set, valid_set, test_set, optimizer,
gpus=[0], batch_size=64)
solver.train(num_epoch=1) we gets below error
|
Hi! Thanks for pointing this out. This is fixed in c277640. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TorchDrug Knowledge Graph Reasoning Tutorial has below code
which give the following error
Note: it works fine for 0.1.2.post1 version
The text was updated successfully, but these errors were encountered: