unist works, but video only 3 frames

This commit is contained in:
FuouM
2024-08-14 00:32:46 +07:00
parent 5604e4b557
commit 40c8f35dc8
13 changed files with 891 additions and 12 deletions
+1 -2
View File
@@ -1,11 +1,10 @@
import torch
from . import net_microAST
import torch.nn.functional as F
from torchvision import transforms
def microast_inference(
def inference_microast(
src_img: torch.Tensor,
style_img: torch.Tensor,
size: int,