Amod Wani created SYSTEMML-2497: ----------------------------------- Summary: Cannot import keras2DML module in python Key: SYSTEMML-2497 URL: https://issues.apache.org/jira/browse/SYSTEMML-2497 Project: SystemML Issue Type: Question Components: Parser Affects Versions: SystemML 1.2 Reporter: Amod Wani
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56) [GCC 7.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from systemml.mllearn import Keras2DML Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/anaconda3/lib/python3.6/site-packages/systemml/mllearn/__init__.py", line 45, in <module> from .estimators import * File "/root/anaconda3/lib/python3.6/site-packages/systemml/mllearn/estimators.py", line 917 def __init__(self, sparkSession, keras_model, input_shape, transferUsingDF=False, load_keras_weights=True, weights=None, lab els=None, batch_size=64, max_iter=2000, test_iter=10, test_interval=500, display=100, lr_policy="step", weight_decay=5e-4, regul arization_type="L2"): ^ SyntaxError: import * only allowed at module level >>> -- This message was sent by Atlassian JIRA (v7.6.3#76005)