VinAIResearch / CPM

💄 Lipstick ain't enough: Beyond Color-Matching for In-the-Wild Makeup Transfer (CVPR 2021)
https://thaoshibe.github.io/CPM
Apache License 2.0
367 stars 58 forks source link

ValueError: The passed save_path is not a valid checkpoint: ./PRNet/net-data/256_256_resfcn256_weight #18

Closed JoJoliking closed 2 years ago

JoJoliking commented 2 years ago

Dear Author: I follow your running steps, but it raises an erros "ValueError: The passed save_path is not a valid checkpoint: ./PRNet/net-data/256_256_resfcn256_weight"

color.pth, pattern.pth and 256_256_resfcn256_weight.data-00000-of-00001 are in the correct files. Can you give me some advice? Thank you!

thaoshibe commented 2 years ago

Hi there,

Please make sure that:

Or you can try to debug from here api.py - L31.

JoJoliking commented 2 years ago

Thank a lot. I have solve this problem by downlaoding the 256_256_resfcn256_weight.index in your clolab!