Joker316701882 / Deep-Image-Matting

This is tensorflow implementation for paper "Deep Image Matting"
626 stars 188 forks source link

About the path in windows7 #9

Open bitname opened 6 years ago

bitname commented 6 years ago

Hi My software platform is Windows7 +Anaconda3 + Tensorflow1.3. I have prepared the train dataset with your structure. But when I run your code,there is a problem about the path of the dataset. It is occurred when running the function of load_data in matting.py.

alpha = misc.imread(……) …… No such file or directory : E:/data/new/alpha1280\(Double slash)1\(Double slash)0.png.

I tried my best to solve it from internet, but the problem still exists.

Is it about the different of software platform, Linux or Windows. Can you help me?

hector-sab commented 6 years ago

Have you tried --> E:/data/new/alpha1280/1/0.png ?? With "/" instead of "\"

bitname commented 6 years ago

@hector-sab Thank you very much. I have got the problem. My problem really focused on the format of image files in BG. I have generated the train dataset with your codes, in where the format of BG images had been changed to PNG. However, in the GeZheng's codes, the format of BG images is JPG.