sassoftware / python-dlpy

The SAS Deep Learning Python (DLPy) package provides the high-level Python APIs to deep learning methods in SAS Visual Data Mining and Machine Learning. It allows users to build deep learning models using friendly Keras-like APIs.
Apache License 2.0
224 stars 131 forks source link

ImageTable.random_mutations #374

Closed staceychan closed 3 years ago

staceychan commented 3 years ago

Hi Experts,

We were trying to do the random mutations on the ImageTable, but found the error messages as below. image

It seems there's something wrong in the random_mutation function. Here is my code

test = pecxr_final_train.random_mutations(color_jitter=False, color_shift=False, darken=True, horizontal_flip=True, invert_pixels=False, lighten=True, sharpen=True, vertical_flip=False, inplace=False)

If I did anything wrong, please let me know, thanks!

dxq77dxq commented 3 years ago

Hi Stacey,

Are you using the latest version of DLPy? This bug was fixed by a push on December 2020.

staceychan commented 3 years ago

Hi Expert,

Thanks for the information! I used pip install sas-dlpy -y to update and found the version is 1.2.0.

After trying to download the zip and add to the system path, I realized the version is 1.2.0-dev. And the issue gone.

Many thanks :)