Update sttn_inpaint.py

This commit is contained in:
天涯古巷
2023-12-23 10:49:30 +08:00
committed by GitHub
parent 5c819f70d1
commit 9aeb8f8860

View File

@@ -5,6 +5,7 @@ import torch
from torchvision import transforms
from typing import List
import sys
import os
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
from backend import config