Trouble Shooting
[ 오류 해결 ] (Python) can't import threshold_adaptive from skimage
Theo (테오)
2021. 5. 26. 13:20
반응형
scikit-image Update 후 threshold_adaptive을 찾을 수 없다는 오류가 발생하는 경우
scikit-image 0.15.X 버전부터 'skimage.filters.threshold_adaptive' 은 삭제 되었습니다. 'skimage.filters.threshold_local' 을 대신하여 사용하면 됩니다.
# from skimage.filters import threshold_adaptive
from skimage.filters import threshold_local
반응형