Keras: apply_transform not in keras.preprocessing.image anymore. DOC update needed.

Created on 12 Jul 2018  路  6Comments  路  Source: keras-team/keras

According to https://keras.io/preprocessing/image/#apply_transform , apply_transform is still under keras.preprocessing.image which is not the case.

All 6 comments

Interesting. Trying from keras.preprocessing.image import apply_transform gives me a name error! (Using python3 - Anaconda - Tensorflow backend)

it's part of ImageDataGenerator now
I'll close since this is resolved?

@Dref360 No, it is not resolved. Apparently, the documentation is wrong. Please look at the referenced pull request.

Yes, you're right! I was talking about the fact that apply_transform was not under ImageDataGenerator methods, I didn't look at the signature.

@Dref360 Found the underlying cause of duplication after more inspection. The output of get_function_signature() is wrong for non-method functions. Please take a look at the new referenced PR.

By the way, I was wondering how often the documentations on keras.io are get updated (i.e. synced with docs in the repo)?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anjishnu picture anjishnu  路  3Comments

zygmuntz picture zygmuntz  路  3Comments

NancyZxll picture NancyZxll  路  3Comments

snakeztc picture snakeztc  路  3Comments

rantsandruse picture rantsandruse  路  3Comments