mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-04-19 15:56:37 +02:00
Remove VisionTensor from Discriminator
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import configparser
|
||||
from typing import List
|
||||
|
||||
from torch import nn
|
||||
from torch import Tensor, nn
|
||||
|
||||
from ..networks.nld import NLD
|
||||
from ..types import VisionTensor
|
||||
|
||||
CONFIG = configparser.ConfigParser()
|
||||
CONFIG.read('config.ini')
|
||||
@@ -31,7 +30,7 @@ class Discriminator(nn.Module):
|
||||
|
||||
return discriminators
|
||||
|
||||
def forward(self, input_tensor : VisionTensor) -> List[List[VisionTensor]]:
|
||||
def forward(self, input_tensor : Tensor) -> List[List[Tensor]]:
|
||||
temp_tensor = input_tensor
|
||||
output_tensors = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user