6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Chainer の log ファイルから学習曲線を plot

Last updated at Posted at 2018-06-07

自分が知ってる中で最も楽。

以下、jupyter notebook での実行を想定。

import pandas as pd

log_file = 'path/to/log'
pd.read_json(log_file)\
  .plot(y=['main/loss', 'validation/main/loss'],
        figsize=(15,10),
        grid=True)
6
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?