Skip to content
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

Hyperparameters #12

Open
PBordesInstadeep opened this issue Jun 22, 2022 · 2 comments
Open

Hyperparameters #12

PBordesInstadeep opened this issue Jun 22, 2022 · 2 comments

Comments

@PBordesInstadeep
Copy link

Hello !
It is a bit unclear to me which hyper parameters you used to train your model, could you provide a complete list of your best models for DIPS and DB5? In particular, I am not sure whether node and edge features were used. Moreover, the hyperparameters you mention in the paper are not the same as your best model's checkpoints.
Thanks :)

@zhenpingli
Copy link

Hello ! It is a bit unclear to me which hyper parameters you used to train your model, could you provide a complete list of your best models for DIPS and DB5? In particular, I am not sure whether node and edge features were used. Moreover, the hyperparameters you mention in the paper are not the same as your best model's checkpoints. Thanks :)

I find the same question

@zhenpingli
Copy link

Hello ! It is a bit unclear to me which hyper parameters you used to train your model, could you provide a complete list of your best models for DIPS and DB5? In particular, I am not sure whether node and edge features were used. Moreover, the hyperparameters you mention in the paper are not the same as your best model's checkpoints. Thanks :)

Hi:
I find a to extract the hyper-parameters from checkpts. this is the main code .

`
args = parser.parse_args().dict

args['input_edge_feats_dim'] = 64
args['device'] = torch.device("cuda:0") if torch.cuda.is_available() else torch.device("cpu")
print(f"Available GPUS:{torch.cuda.device_count()}")

stopper = EarlyStopping(mode='lower', patience=00, filename="./checkpts/db5/db5_model_best.pth", log=log)

model = create_model(args, log)
optimizer = torch.optim.Adam(model.parameters(), lr=args['lr'], weight_decay=args['w_decay'])
model, optimizer, args2, epoch = stopper.load_checkpoint(model, optimizer)
for k in args2.keys():
if k not in ['device', 'debug', 'worker', 'n_jobs', 'toy']:
print(args[k])

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants