mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-04-19 15:56:37 +02:00
supress warning
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import configparser
|
||||
import os
|
||||
import warnings
|
||||
from typing import Tuple, cast
|
||||
|
||||
import lightning
|
||||
@@ -19,6 +20,8 @@ from .models.generator import Generator
|
||||
from .models.loss import AdversarialLoss, AttributeLoss, DiscriminatorLoss, GazeLoss, IdentityLoss, PoseLoss, ReconstructionLoss
|
||||
from .types import Batch, Embedding, OptimizerConfig, WarpTemplate
|
||||
|
||||
warnings.filterwarnings("ignore", category=UserWarning, module="torch")
|
||||
|
||||
CONFIG = configparser.ConfigParser()
|
||||
CONFIG.read('config.ini')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user