Skip to content

Commit

Permalink
Fixed bug in trainer notebook (microsoft#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebrob6 authored Feb 27, 2022
1 parent 230e508 commit 579f578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/trainers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -492,13 +492,13 @@
" csv_reader = csv.DictReader(f, delimiter=',')\n",
" for i, row in enumerate(csv_reader):\n",
" try:\n",
" train_rmse.append(float(row[\"train_rmse\"]))\n",
" train_rmse.append(float(row[\"train_RMSE\"]))\n",
" train_steps.append(i)\n",
" except ValueError: # Ignore rows where train RMSE is empty\n",
" pass\n",
"\n",
" try:\n",
" val_rmse.append(float(row[\"val_rmse\"]))\n",
" val_rmse.append(float(row[\"val_RMSE\"]))\n",
" val_steps.append(i)\n",
" except ValueError: # Ignore rows where val RMSE is empty\n",
" pass"
Expand Down

0 comments on commit 579f578

Please sign in to comment.