According to https://keras.io/preprocessing/image/#apply_transform , apply_transform is still under keras.preprocessing.image which is not the case.
In the doc: https://keras.io/preprocessing/image/#imagedatagenerator-methods
In the code: https://github.com/keras-team/keras-preprocessing/blob/master/keras_preprocessing/image.py#L1095
I'm not sure I get your issue?
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)?