Bmo411 commited on
Commit
ada5b25
·
verified ·
1 Parent(s): a74e15b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import torch.nn as nn
10
  # 1. DEFINICIÓN DEL MODELO VAE
11
  # -----------------------------
12
  class VAE(nn.Module):
13
- def __init__(self, input_dim, h_dim=400, z_dim=20): # NOTA: z_dim por defecto en 20
14
  super().__init__()
15
  # Encoder
16
  self.img_2hid = nn.Linear(input_dim, h_dim)
 
10
  # 1. DEFINICIÓN DEL MODELO VAE
11
  # -----------------------------
12
  class VAE(nn.Module):
13
+ def __init__(self, input_dim, h_dim=400, z_dim=40): # NOTA: z_dim por defecto en 20
14
  super().__init__()
15
  # Encoder
16
  self.img_2hid = nn.Linear(input_dim, h_dim)