Update
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def make_transform(translate: tuple[float, float], angle: float) -> np.ndarray:
|
|
77 |
|
78 |
def generate_z(z_dim: int, seed: int, device: torch.device) -> torch.Tensor:
|
79 |
return torch.from_numpy(np.random.RandomState(seed).randn(
|
80 |
-
1, z_dim)).to(device)
|
81 |
|
82 |
|
83 |
@torch.inference_mode()
|
|
|
77 |
|
78 |
def generate_z(z_dim: int, seed: int, device: torch.device) -> torch.Tensor:
|
79 |
return torch.from_numpy(np.random.RandomState(seed).randn(
|
80 |
+
1, z_dim)).to(device).float()
|
81 |
|
82 |
|
83 |
@torch.inference_mode()
|