NVlabs / SPADE

Semantic Image Synthesis with SPADE
https://nvlabs.github.io/SPADE/
Other
7.61k stars 980 forks source link

update as_grey argument of skimage.io.imread to as_gray #146

Open eungbean opened 3 years ago

eungbean commented 3 years ago

Problem

TypeError: _open() got an unexpected keyword argument 'as_grey'

Solution

sklearn does support as_gray argument, not as_grey.

Reference

https://github.com/scikit-image/scikit-image/blob/v0.18.0/skimage/io/_io.py#L14-L63