Skip to content

Commit

Permalink
Update 03_Cross_Validation.ipynb
Browse files Browse the repository at this point in the history
I could only run your code, if I add the labels from the training and validation data because when running the training loop we are also using the train_images that contain the images for training and validation.
  • Loading branch information
ulat authored Feb 24, 2020
1 parent 1661d2b commit 5441eea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Computer Vision/03_Cross_Validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,8 @@
"train_labels = L()\n",
"for i in range(len(dsrc.train)):\n",
" train_labels.append(dsrc.train[i][1])\n",
"for i in range(len(datasource.valid)):\n",
" train_labels.append(datasource.valid[i][1])\n",
"train_labels"
],
"execution_count": 0,
Expand Down Expand Up @@ -1731,4 +1733,4 @@
]
}
]
}
}

0 comments on commit 5441eea

Please sign in to comment.