YanchaoYang / FDA

Fourier Domain Adaptation for Semantic Segmentation
491 stars 79 forks source link

Questions about FDA.demo.py #7

Closed zengkaiwei closed 3 years ago

zengkaiwei commented 4 years ago

I guess you use code in FDA_demo to transform original images, but when run FDA_demo.py, nothing happen and the process over in several seconds. Does FDA_demo.py really work?

YanchaoYang commented 3 years ago

should work, the examplar images are generated by this script, did you do a step by step check to see where the process ends? it should not take several seconds.

Siddharth-Shrivastava7 commented 3 years ago

Yeah, it works!

ALEX13679173326 commented 3 years ago

I have a problem 'AttributeError: module 'scipy.misc' has no attribute 'toimage' ' when I use 'scipy.misc.toimage', and then I use 'Image.fromarray'.There is a problem with the image obtained... So how do you get the correct result?

cvmlddev commented 3 years ago

@ALEX13679173326 to image was discontinued after scipy 1.3, Try with an older version