You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by ni...@apache.org on 2017/04/20 23:19:05 UTC

incubator-systemml git commit: [SYSTEMML-692] [MINOR] Supported Caffe2DML via pip

Repository: incubator-systemml
Updated Branches:
  refs/heads/master 117ea480d -> 39bf1e6d5


[SYSTEMML-692] [MINOR] Supported Caffe2DML via pip

- Enables using Caffe2DML directly via pip without requiring
--driver-class-path SystemML.jar

Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/39bf1e6d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/39bf1e6d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/39bf1e6d

Branch: refs/heads/master
Commit: 39bf1e6d5b08fa5eadab17a17867ca407c84d0a5
Parents: 117ea48
Author: Niketan Pansare <np...@us.ibm.com>
Authored: Thu Apr 20 16:13:55 2017 -0700
Committer: Niketan Pansare <np...@us.ibm.com>
Committed: Thu Apr 20 16:16:10 2017 -0700

----------------------------------------------------------------------
 src/main/python/systemml/mllearn/estimators.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/39bf1e6d/src/main/python/systemml/mllearn/estimators.py
----------------------------------------------------------------------
diff --git a/src/main/python/systemml/mllearn/estimators.py b/src/main/python/systemml/mllearn/estimators.py
index 94aa1f2..195ed9d 100644
--- a/src/main/python/systemml/mllearn/estimators.py
+++ b/src/main/python/systemml/mllearn/estimators.py
@@ -570,6 +570,7 @@ class Caffe2DML(BaseSystemMLClassifier):
         """
         self.sqlCtx = sqlCtx
         self.sc = sqlCtx._sc
+        createJavaObject(self.sc, 'dummy')
         self.uid = "Caffe2DML"
         self.model = None
         if len(input_shape) != 3: