How to train a neural network without a validation set, because most of the dataset I have been seeing, most of them dont have the validation split. I want to implement hot dog classifier and tried to pass the directory, it returns an error “no /valid directory”. I know validation is neccessary, but since I’m beginner I want to train a model and try different datasets.
I think learning the importance of how to validate models is the most crucial part any of any application. Here is a great blog post emphasizing that http://www.fast.ai/2017/11/13/validation-sets/.
Still after this if you want to continue without validation you may create a dummy validation folder and put a single image in it to run any model.
If you find it difficult to create a validation folder and move some random samples, pl use this script to move 20% of training set to validation set. (of course, you can modify the % of validation
set)