报错:
img = sktsf.resize(img, (C, H * scale, W * scale), mode='reflect',anti_aliasing=False)
TypeError: resize() got an unexpected keyword argument 'anti_aliasing'
原因:only 0.14 supports anti-aliasing
解决办法:~$ pip install -U scikit-image后升级到scikit-image-0.15.0,应该是scikit-image0.14以上都可以
参考:https://github.com/chenyuntc/simple-faster-rcnn-pytorch/issues/82
网友评论