app.py
CHANGED
|
@@ -34,7 +34,7 @@ def compute(dim):
|
|
| 34 |
st.pyplot(w.get_figure())
|
| 35 |
|
| 36 |
|
| 37 |
-
def random_normal_samples(n, dim=
|
| 38 |
return torch.zeros(n, dim).normal_(mean=0, std=1)
|
| 39 |
|
| 40 |
samples = np.array(api.model.sample(torch.tensor(random_normal_samples(1000,api.scaled.shape[-1])).float()).detach())
|
|
|
|
| 34 |
st.pyplot(w.get_figure())
|
| 35 |
|
| 36 |
|
| 37 |
+
def random_normal_samples(n, dim=3):
|
| 38 |
return torch.zeros(n, dim).normal_(mean=0, std=1)
|
| 39 |
|
| 40 |
samples = np.array(api.model.sample(torch.tensor(random_normal_samples(1000,api.scaled.shape[-1])).float()).detach())
|