I'm trying to run h2o.deeplearning twice, using checkpoint parameter on 2 train sets (using same parameters except different epochs). I'm getting the following error:
Error: 'The columns of the training data must be the same as for the checkpointed model
even-though both sets have same columns. Attached below the relevant code:
model <- h2o.deeplearning(x = 2:785, y = 1, training_frame = train1,
activation = "RectifierWithDropout",
hidden = c(1024,1024,2048),
epochs = 10,
l1 = 1e-5,
input_dropout_ratio = 0.2,
train_samples_per_iteration = -1,
classification_stop = -1)
model2 <- h2o.deeplearning(x = 2:785, y = 1, training_frame = train2,
checkpoint = model@model_id,
activation = "RectifierWithDropout",
hidden = c(1024,1024,2048),
epochs = 1000,
l1 = 1e-5,
input_dropout_ratio = 0.2,
train_samples_per_iteration = -1,
classification_stop = -1)
> all(colnames(train1)==colnames(train2))
[1] TRUE
> dim(train1)
[1] 54447 785
> dim(train2)
[1] 5553 785
Thanks, Eli.