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

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

JoJoliking opened this issue · comments

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!

Hi there,

Please make sure that:

  • color.pth and pattern.pth are in ./CPM/checkpoints
  • 256_256_resfcn256_weight.data-00000-of-00001, mmod_human_face_detector.dat, and 256_256_resfcn256_weight.index are in ./CPM/PRNet/net-data

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

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