app.py
CHANGED
@@ -14,7 +14,7 @@ def compute():
|
|
14 |
api = nflow(dim=8,latent=16,dataset=uploaded_file)
|
15 |
api.compile(optim=torch.optim.ASGD,bw=bw,lr=0.0001,wd=None)
|
16 |
|
17 |
-
my_bar = st.progress(0
|
18 |
|
19 |
for idx in api.train(iters=10000):
|
20 |
st.write('Loss:',idx[1])
|
|
|
14 |
api = nflow(dim=8,latent=16,dataset=uploaded_file)
|
15 |
api.compile(optim=torch.optim.ASGD,bw=bw,lr=0.0001,wd=None)
|
16 |
|
17 |
+
my_bar = st.progress(0)
|
18 |
|
19 |
for idx in api.train(iters=10000):
|
20 |
st.write('Loss:',idx[1])
|