fix small bug in U-GAT-IT
This commit is contained in:
parent
72d09aa483
commit
85b5c3f589
@ -92,6 +92,7 @@ data:
|
||||
mean: [ 0.5, 0.5, 0.5 ]
|
||||
std: [ 0.5, 0.5, 0.5 ]
|
||||
test:
|
||||
which: video_dataset
|
||||
dataloader:
|
||||
batch_size: 8
|
||||
shuffle: False
|
||||
|
||||
@ -135,8 +135,8 @@ class UGATITTestEngineKernel(TestEngineKernel):
|
||||
|
||||
def inference(self, batch):
|
||||
with torch.no_grad():
|
||||
fake, _, _ = self.generators["a2b"](batch["a"])
|
||||
return {"a": fake.detach()}
|
||||
fake, _, _ = self.generators["a2b"](batch[0])
|
||||
return fake.detach()
|
||||
|
||||
|
||||
def run(task, config, _):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user