Commit 19a6b393 authored by Sebastian N.'s avatar Sebastian N.

Updated version number and tests

parent 13624bd6
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<!-- .. SE-Libraries .................................................. --> <!-- .. SE-Libraries .................................................. -->
<emadl.version>0.2.10-SNAPSHOT</emadl.version> <emadl.version>0.2.10-SNAPSHOT</emadl.version>
<CNNTrain.version>0.3.6-SNAPSHOT</CNNTrain.version> <CNNTrain.version>0.3.6-SNAPSHOT</CNNTrain.version>
<cnnarch-generator.version>0.0.3-SNAPSHOT</cnnarch-generator.version> <cnnarch-generator.version>0.0.4-SNAPSHOT</cnnarch-generator.version>
<cnnarch-mxnet-generator.version>0.2.17-SNAPSHOT</cnnarch-mxnet-generator.version> <cnnarch-mxnet-generator.version>0.2.17-SNAPSHOT</cnnarch-mxnet-generator.version>
<cnnarch-caffe2-generator.version>0.2.13-SNAPSHOT</cnnarch-caffe2-generator.version> <cnnarch-caffe2-generator.version>0.2.13-SNAPSHOT</cnnarch-caffe2-generator.version>
<cnnarch-gluon-generator.version>0.2.8-SNAPSHOT</cnnarch-gluon-generator.version> <cnnarch-gluon-generator.version>0.2.8-SNAPSHOT</cnnarch-gluon-generator.version>
......
...@@ -136,6 +136,7 @@ class CNNSupervisedTrainer_mnist_mnistClassifier_net: ...@@ -136,6 +136,7 @@ class CNNSupervisedTrainer_mnist_mnistClassifier_net:
predictions_label = batch.label[0].as_in_context(mx_context) predictions_label = batch.label[0].as_in_context(mx_context)
with autograd.record(): with autograd.record():
predictions_ = mx.nd.zeros((10,), ctx=mx_context)
predictions_ = self._networks[0](image_) predictions_ = self._networks[0](image_)
...@@ -172,6 +173,7 @@ class CNNSupervisedTrainer_mnist_mnistClassifier_net: ...@@ -172,6 +173,7 @@ class CNNSupervisedTrainer_mnist_mnistClassifier_net:
] ]
if True: if True:
predictions_ = mx.nd.zeros((10,), ctx=mx_context)
predictions_ = self._networks[0](image_) predictions_ = self._networks[0](image_)
...@@ -192,6 +194,7 @@ class CNNSupervisedTrainer_mnist_mnistClassifier_net: ...@@ -192,6 +194,7 @@ class CNNSupervisedTrainer_mnist_mnistClassifier_net:
] ]
if True: if True:
predictions_ = mx.nd.zeros((10,), ctx=mx_context)
predictions_ = self._networks[0](image_) predictions_ = self._networks[0](image_)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment