[Python] Scikit-image TypeError: rescale() got an unexpected keyword argument 'multichannel'
Programming/Python 2023. 3. 15. 11:37최근에 scikit-image 0.20 이 릴리즈되면서 rescale() 을 사용하던 부분에서 multichannel 매개변수가 없다는 에러가 발생했다.
바로 앞 0.19 버전 까지만 하더라도 multichannel 옵션이 있었지만 0.20 으로 업데이트되면서 해당 옵션은 deprecate 됐다
사용하던 코드에서 multichannel 을 사용중이라면 scikit-image 를 0.19 버전으로 다운그레이드 하거나 해당 라인을 삭제 또는 channel_axis 를 활성화 시키는 방법으로 해결 가능하다.
'Programming > Python' 카테고리의 다른 글
[Python] USB Serial 통신하기 (0) | 2023.07.13 |
---|---|
Pycharm import 빨간 줄 없애기 (0) | 2023.06.20 |
[Python] Could not load the Qt platform plugin "xcb" 해결방법 (0) | 2023.02.26 |
[Python] list를 부분 분리 할 때 사용하는 '*' (0) | 2022.10.06 |
[Ubuntu][python] pip install 사용시 발생하는 UnicodeDecodeError 해결방법 (0) | 2020.06.02 |