Open djshen opened 4 years ago
Hi,
Thanks for your interest in trying our work. The exception is now handled. For your information, if no validation set is provided during the training phase, we will store the model in the last iteration for future prediction.
Best, Pengrui
https://github.com/cjlin1/simpleNN/blob/ad58af428dd16f80e095fd2ac8a5adaedab81f9c/Python/train.py#L305-L308 If
--val_set
is not provided,val_data
will be set toNone
, which will cause an exception like:This case is handled in the
gradient_trainer
function.