mirror of
https://github.com/wassname/attentive-neural-processes.git
synced 2026-06-27 18:03:39 +08:00
fix
This commit is contained in:
@@ -25,7 +25,7 @@ class LatentModelPL(pl.LightningModule):
|
||||
def training_step(self, batch, batch_idx):
|
||||
assert all(torch.isfinite(d).all() for d in batch)
|
||||
context_x, context_y, target_x, target_y = batch
|
||||
y_pred, losses, extra = = self.forward(context_x, context_y, target_x, target_y)
|
||||
y_pred, losses, extra = self.forward(context_x, context_y, target_x, target_y)
|
||||
y_std = extra['dist'].scale
|
||||
|
||||
tensorboard_logs = {
|
||||
|
||||
Reference in New Issue
Block a user