Skip to content

BUG FIXES in imquality/brisque.py#57

Open
mchlsdrv wants to merge 1 commit intoocampor:masterfrom
mchlsdrv:master
Open

BUG FIXES in imquality/brisque.py#57
mchlsdrv wants to merge 1 commit intoocampor:masterfrom
mchlsdrv:master

Conversation

@mchlsdrv
Copy link

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

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant