반응형

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

 

반응형