AI4OPT / AI4OPT/ML4OPF

Checkpoints assume problem-default dataset

Aperta
#26 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
34
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently the checkpoint code relies on the user to pass the same `dataset_kwargs["combos"]` used to create the model when resuming training from a checkpoint. If you don't, and are using custom combos, this will result in some hard-to-debug errors.

One workaround is to create a new OPFProblem class and override the `default_combos` property instead of using the `train(dataset_kwargs=...)` API.

The real solution here is to move all the dataset code out of `BasicNeuralNet`, into `BasicNN`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.