Chaerin5 commited on
Commit
349b8de
·
1 Parent(s): 35c713b

enable zerogpu

Browse files
Files changed (1) hide show
  1. vqvae.py +0 -1
vqvae.py CHANGED
@@ -73,7 +73,6 @@ class Autoencoder(nn.Module):
73
  # Decode the image of shape `[batch_size, channels, height, width]`
74
  return self.decoder(z)
75
 
76
- @spaces.GPU(duration=120)
77
  def forward(self, x):
78
  posterior = self.encode(x)
79
  z = posterior.sample()
 
73
  # Decode the image of shape `[batch_size, channels, height, width]`
74
  return self.decoder(z)
75
 
 
76
  def forward(self, x):
77
  posterior = self.encode(x)
78
  z = posterior.sample()