Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

fit() with best-validation checkpoint and history

オープン
#20 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
50/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

Start in src/train.py, where the new fit(model, optimizer, epochs, scheduler=None, tag='') goes. Check #19 and #10 first, since this issue depends on them and their code is not in the payload. Done means fit returns a history dict with the five listed keys, prints one line per epoch, and leaves the model holding the best-validation state_dict, checked by running it for a few epochs.

索引モデルが issue の本文から書いたものです。

説明

training

Train for N epochs, keep the weights of the best validation epoch.

Files: src/train.py

Tasks
  • fit(model, optimizer, epochs, scheduler=None, tag='') -> history dict
  • History keys: train_loss, val_loss, train_acc, val_acc, epoch_time
  • Deep-copy the best state_dict, load it back at the end
  • Print one line per epoch
Done when

After fit, the model holds the best-validation weights.

Depends on

#19 #10

Close with a commit or PR message containing Closes #<this issue>.

主要言語
Jupyter Notebook
スター
0
フォーク
0
平均マージ
1分
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

VisionForgeCSE/CNN-For-Image-Classification のほかの issue

VisionForgeCSE/CNN-For-Image-Classification の issue をすべて見る

似ている issue

Machine Learning の issue をもっと見る

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

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