AI4OPT / AI4OPT/ML4OPF

Checkpoints assume problem-default dataset

オープン
#26 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
34
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。