fuy34 / superpixel_fcn

[CVPR‘20] SpixelFCN: Superpixel Segmentation with Fully Convolutional Network
Other
392 stars 80 forks source link

Is there python 3 version demo? #46

Closed RuoyuChen10 closed 10 months ago

RuoyuChen10 commented 1 year ago

Thanks for your excellent work, I want if there any code support Python3? Thank you.

RbtJhs commented 1 year ago

If I remember correctly, you just need to replace the imread and imsave in ln 7&8 with, for instance, 'from skimage.io import imread, imsave'

RuoyuChen10 commented 1 year ago

If I remember correctly, you just need to replace the imread and imsave in ln 7&8 with, for instance, 'from skimage.io import imread, imsave'

Thanks! I will try it.