Tensorflow 属性错误:模块';sparkdl';没有属性';图';

Tensorflow 属性错误:模块';sparkdl';没有属性';图';,tensorflow,pyspark,Tensorflow,Pyspark,当我在colab.research.google.com上开发jupyter时, 代码为: from sparkdl import DeepImageFeaturizer from sparkdl import readImages, DeepImagePredictor predictor = DeepImagePredictor(inputCol="image", outputCol="predicted_labels",modelName="InceptionV3",decodePr

当我在colab.research.google.com上开发jupyter时, 代码为:

from sparkdl import DeepImageFeaturizer 
from sparkdl import readImages, DeepImagePredictor

predictor = DeepImagePredictor(inputCol="image", 
outputCol="predicted_labels",modelName="InceptionV3",decodePredictions=True, 
topK=10)
我一直收到下面的错误。有什么问题吗

"AttributeError: module 'sparkdl' has no attribute 'graph'"

谢谢

使用spark deep learning 1.5.0-spark2.4-s_2.11时,似乎会出现这种情况。1.4.0版对我来说似乎很好。