from pyspark.ml.classification import LogisticRegression from pyspark.ml import Pipeline from sparkdl import DeepImageFeaturizer featurizer = DeepImageFeaturizer(inputCol="image", outputCol="features", modelName="InceptionV3") lr = LogisticRegression(maxIter=20, regParam=0.05, elasticNetParam=0.3, labelCol="label") p = Pipeline(stages=[featurizer, lr]) p_model = p.fit(train_df)
ValueError: ('Pipeline write will fail on this pipeline because stage %s of type %s is not MLWritable', 'DeepImageFeaturizer_d5f21d7be757', <class 'sparkdl.transformers.named_image.DeepImageFeaturizer'>)Can somebody verify I am doing this correctly and possibly offer a workaround?
--
You received this message because you are subscribed to the Google Groups "DL-Pipelines-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dl-pipelines-us...@googlegroups.com.
To post to this group, send email to dl-pipeli...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dl-pipelines-users/23c1f7ac-ffed-4094-9539-e8bdc6f888fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.