mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-04-19 15:56:37 +02:00
Fix CI
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import torch
|
||||
from torch import nn
|
||||
|
||||
from ..types import VisionTensor
|
||||
from torch import Tensor, nn
|
||||
|
||||
|
||||
class EmbeddingConverter(nn.Module):
|
||||
@@ -20,7 +18,7 @@ class EmbeddingConverter(nn.Module):
|
||||
nn.Linear(1024, 512)
|
||||
])
|
||||
|
||||
def forward(self, input_tensor : VisionTensor) -> VisionTensor:
|
||||
def forward(self, input_tensor : Tensor) -> Tensor:
|
||||
output_tensor = input_tensor / torch.norm(input_tensor)
|
||||
|
||||
for layer in self.layers[:-1]:
|
||||
|
||||
Reference in New Issue
Block a user