Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ if st.button('확인'):
|
|
162 |
predictions , true_labels = [], []
|
163 |
|
164 |
# Predict
|
165 |
-
for batch in range(test_dataloader):
|
166 |
# Add batch to GPU
|
167 |
# batch = tuple(t.to(device) for t in batch)
|
168 |
|
|
|
162 |
predictions , true_labels = [], []
|
163 |
|
164 |
# Predict
|
165 |
+
for batch in range(len(test_dataloader)):
|
166 |
# Add batch to GPU
|
167 |
# batch = tuple(t.to(device) for t in batch)
|
168 |
|