Created
March 18, 2020 12:41
-
-
Save AbhilashG97/21f22cbe865b6b2d63627c83e1123153 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
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