VinAIResearch / CPM

💄 Lipstick ain't enough: Beyond Color-Matching for In-the-Wild Makeup Transfer (CVPR 2021)

Home Page:https://thaoshibe.github.io/CPM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There are no uv-map texture results after i runned this code.

pirate-zhang opened this issue · comments

Hi,there are no uv-map texture results after i runned this code.It only produces an empty folder named save_folder.
What's the matter, please?

Hi there,
Please make sure that --path (line 14) is pointing to your image folder.

For example, if your image folder is /home/image/folder, then: python create_beautygan_uv.py --path /home/image/folder --savedir /path/to/save_folder should work.

Hi there, I guess there are some problem with your input folder. Please change (line 30):

list_imgs = glob.glob(os.path.join(args.path, "images", "*", "*.png"))

to:

list_imgs = glob.glob(os.path.join(args.path, "*.png"))

and see if it works.

And as read in README.md, to run the code successfully, please make sure the dataset folder follows THIS STRUCTURE:

all
|__ images
	|__ makeup
	|__ non-makeup
|__ segs
	|__ makeup
	|__ non-makeup

Else, I'm sorry to say that I can not help you. Hope this helps! ( ´ ▽ ` )b

You're more than welcome ( ´ ▽ ` )b
Feel free to ask if you have any other questions.