asdf
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
hair_template_material/<hair_id>/first##<name>.pkl 1k关键点
|
||||
|
||||
用法:
|
||||
cd /home/xsl/change_hair/project/hair_service_sd
|
||||
cd /home/ubuntu/change_hair/project/hair_service_sd
|
||||
python gen_template_material.py --hair-id new_test_001 --img /path/to/template.jpg
|
||||
"""
|
||||
import os
|
||||
@@ -19,7 +19,7 @@ import pickle
|
||||
import argparse
|
||||
|
||||
ssl._create_default_https_context = ssl._create_unverified_context
|
||||
HAIR_SERVICE_DIR = "/home/xsl/change_hair/project/hair_service_sd"
|
||||
HAIR_SERVICE_DIR = "/home/ubuntu/change_hair/project/hair_service_sd"
|
||||
os.chdir(HAIR_SERVICE_DIR)
|
||||
sys.path.insert(0, HAIR_SERVICE_DIR)
|
||||
os.environ.setdefault("HF_HUB_OFFLINE", "1")
|
||||
|
||||
Reference in New Issue
Block a user