AI4OPT / AI4OPT/ML4OPF

Checkpoints assume problem-default dataset

Abierto
#26 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
34
Forks
11
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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`.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.