File size: 299 Bytes
f348660
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from pathlib import Path
import sys

SRC = Path(__file__).resolve().parents[2]
sys.path.insert(0, str(SRC))
from inference_runtime import launch

HERE = Path(__file__).resolve().parent
launch(SRC / "GRADE/stage2_diffusion_refinement/inference_diffusion.py", ("--config", str(HERE / "config.yaml")))