Closed mbPDWTeSe33 closed 8 years ago
PyDeepCL.NetLearner(adadelta, net, N, images, labels, testN, testImages, testLabels, batchSize) results in TypeError: Argument 'sgd' has incorrect type (expected PyDeepCL.SGD, got PyDeepCL.Adadelta)
PyDeepCL.NetLearner(adadelta, net, N, images, labels, testN, testImages, testLabels, batchSize)
TypeError: Argument 'sgd' has incorrect type (expected PyDeepCL.SGD, got PyDeepCL.Adadelta)
Same error with Anneal, Nesterov, Adagrad and Rmsprop.
Doc from NeuralNetAPI gives trainer:
NetLearner netLearner( trainer, net, // << Ntrain, trainData, trainLabels, Ntest, testData, testLabels );
Hmmm, right. I need to check this point.
Addressed in 2f6dfc9
PyDeepCL.NetLearner(adadelta, net, N, images, labels, testN, testImages, testLabels, batchSize)
results inTypeError: Argument 'sgd' has incorrect type (expected PyDeepCL.SGD, got PyDeepCL.Adadelta)
Same error with Anneal, Nesterov, Adagrad and Rmsprop.
Doc from NeuralNetAPI gives trainer: