mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-18 22:08:13 +00:00
add image quality metric
This commit is contained in:
@@ -4,8 +4,6 @@ current_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
project_root = os.path.abspath(os.path.join(current_dir, '../../../'))
|
||||
quality_metric_path = os.path.join(project_root, 'models', 'QualityMetric')
|
||||
|
||||
# 打印生成的路径
|
||||
print(quality_metric_path)
|
||||
|
||||
def get_model_path(model_name):
|
||||
return os.path.join(quality_metric_path, model_name)
|
||||
|
||||
Reference in New Issue
Block a user