YuliangXiu / ECON

[CVPR'23, Highlight] ECON: Explicit Clothed humans Optimized via Normal integration
https://xiuyuliang.cn/econ
Other
1.1k stars 105 forks source link

Can't save the results/outputs on Windows machine #8

Closed justinjohn0306 closed 1 year ago

justinjohn0306 commented 1 year ago

Capture I managed to get it working on Windows but it can't save the results for some reason. Ideas?

YuliangXiu commented 1 year ago

The output path filled with messy \\ and / looks quite strange, the project is built on Ubuntu. Maybe you should update the output path with windows-compatible formats.

BTW, someone else has run ECON successfully under Windows, see issues/7.

carlosedubarreto commented 1 year ago

@justinjohn0306 in case you still ahve problems with it, just create the "examples" folder manually inside the png folder and run it again.

You might have a few other errors with different paths, create "examples" folder inside each one othe them and probably after executing it 3 or 4 times, it will run successfully.

luwang03 commented 1 year ago

The problem is the path string is different for windows and ubuntu. In windows, the path string is linked by “\\”. So, you can add one line code "img_path = img_path.replace('\\','/')" at line 146 (before code line "img_name = img_path.split("/")[-1].rsplit(".", 1)[0]") in file "./lib/dataset/TestDataset.py".