Open
Conversation
imquality/brisque.py: 1) line 45: condition added to avoid grayscale image being converted again, resulting in an error: ValueError: the input array must have size 3 along channel_axis, got (250, 358) 2) line 143: the argument name in a new version os skimage.transform.rescale() was changed in the lates version from multichannel=False -> channel_axis=None, which was producing an error: TypeError: rescale() got an unexpected keyword argument 'multichannel' 3) Also, in the requirements the version of the version should be set to scipy==1.11.4 as in the there is an error in the site-packages/libsvm/svm.py AttributeError: Module 'scipy' has no attribute 'ndarray' in the newer scipy==1.13.1
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
imquality/brisque.py: