Deep-Image-Matting icon indicating copy to clipboard operation
Deep-Image-Matting copied to clipboard

About the path in windows7

Open bitname opened this issue 7 years ago • 2 comments

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?

bitname avatar Oct 04 '17 11:10 bitname

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

hector-sab avatar Oct 04 '17 17:10 hector-sab

@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.

bitname avatar Oct 09 '17 08:10 bitname