Upload 9 files
Browse files- .gitattributes +2 -0
- examples/reference.png +3 -0
- examples/source.png +3 -0
- inference.py +2 -2
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
examples/reference.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
examples/source.png filter=lfs diff=lfs merge=lfs -text
|
examples/reference.png
ADDED
|
Git LFS Details
|
examples/source.png
ADDED
|
Git LFS Details
|
inference.py
CHANGED
|
@@ -18,7 +18,7 @@ Example:
|
|
| 18 |
--source examples/source.png \
|
| 19 |
--reference examples/reference.png \
|
| 20 |
--output output.png \
|
| 21 |
-
--repo_id ChengYou305/
|
| 22 |
"""
|
| 23 |
|
| 24 |
import argparse
|
|
@@ -41,7 +41,7 @@ from di2fix_utils import (
|
|
| 41 |
|
| 42 |
|
| 43 |
DEFAULT_CONFIG: Dict[str, Any] = {
|
| 44 |
-
"model_repo_id": "ChengYou305/
|
| 45 |
"checkpoint_filename": "model_80001.pkl",
|
| 46 |
"base_difix_repo_id": "nvidia/difix_ref",
|
| 47 |
"lora_rank_vae": 4,
|
|
|
|
| 18 |
--source examples/source.png \
|
| 19 |
--reference examples/reference.png \
|
| 20 |
--output output.png \
|
| 21 |
+
--repo_id ChengYou305/DI2FIX_HF
|
| 22 |
"""
|
| 23 |
|
| 24 |
import argparse
|
|
|
|
| 41 |
|
| 42 |
|
| 43 |
DEFAULT_CONFIG: Dict[str, Any] = {
|
| 44 |
+
"model_repo_id": "ChengYou305/DI2FIX_HF",
|
| 45 |
"checkpoint_filename": "model_80001.pkl",
|
| 46 |
"base_difix_repo_id": "nvidia/difix_ref",
|
| 47 |
"lora_rank_vae": 4,
|