Skip to content

Instantly share code, notes, and snippets.

@AbhilashG97
Created March 18, 2020 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbhilashG97/21f22cbe865b6b2d63627c83e1123153 to your computer and use it in GitHub Desktop.
Save AbhilashG97/21f22cbe865b6b2d63627c83e1123153 to your computer and use it in GitHub Desktop.
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-21-67bef302aaa0> in <module>
----> 1 resize_images(os.path.join(os.getcwd(), 'data/images/'), resize_image_path)
<ipython-input-18-2856c9fdcdb0> in resize_images(root_image_path, resized_image_path)
16
17 # check if image can be resized i.e. if it is too small or not
---> 18 is_valid = resizeimage.resize_cover.validate(img, [256, 256])
19
20 if is_valid:
AttributeError: 'function' object has no attribute 'validate'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment