I have installed cntk, version 2.6 and I am trying to run the following script:
print("Before Trainer")
trainer = C.Trainer(model, (cross_entroy, error), [sgd(model.parameters, lr=lr_per_minibatch)], [progress_printer])
print("After Trainer")
The following script is printing only "Before Trainer"
message and after that the code stops the execution. The code below the C.Trainer class instantiation don't run and the script stops. Here is the result of the whole script:
Thank you for your help!
Later edit: I tried to run in Debug Mode and the following line of code produce the problem. I don't get any error, but I get the following message: Process finished with exit code -1066598274 (0xC06D007E). Screen of Debug Mode. Thank you!
Later edit: Actually I see that nothing works. The following code, is showing the following answer.
You didn't pass a loss function and learner to the trainer class. Maybe you might want to take a look here for some example code.
EDIT: Based on your update, you should uninstall and install again.
EDIT2: Getting intel mkl-dnn installed (use conda) with solved you probably.
User contributions licensed under CC BY-SA 3.0