You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys,
I want to apply deep learning to load the images by using pysparkdl and google colab.
but after running the following commands in colab, I take an error.
can anybody help me, please?
the version of pyspark is "sparkdl==0.2.2"
this is the code:
from sparkdl.image import imageIO as imageIO
tulips_df = ImageSchema.readImages("flower_photos/tulips").withColumn("label", lit(1))
daisy_df = imageIO.readImagesWithCustomFn("flower_photos/daisy", decode_f=imageIO.PIL_decode).withColumn("label", lit(0))
this is the error:
AttributeError: module 'sparkdl.image.imageIO' has no attribute 'readImagesWithCustomFn'
The text was updated successfully, but these errors were encountered:
Hello guys,
I want to apply deep learning to load the images by using pysparkdl and google colab.
but after running the following commands in colab, I take an error.
can anybody help me, please?
the version of pyspark is "sparkdl==0.2.2"
this is the code:
this is the error:
AttributeError: module 'sparkdl.image.imageIO' has no attribute 'readImagesWithCustomFn'
The text was updated successfully, but these errors were encountered: