Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ from glob import glob
|
|
32 |
import shutil
|
33 |
import pandas as pd
|
34 |
import numpy as np
|
35 |
-
import matplotlib.pyplot as plt
|
36 |
import torch.nn.functional as F
|
37 |
|
38 |
# Set the device (GPU or CPU)
|
@@ -166,7 +166,7 @@ prod_dl = DataLoader(prod_ds, batch_size=BATCH_SIZE)
|
|
166 |
|
167 |
# Testing the dataloader
|
168 |
prod_inputs = next(iter(prod_dl))
|
169 |
-
|
170 |
|
171 |
## Read image from Camera
|
172 |
#enable = st.checkbox("Enable camera")
|
|
|
32 |
import shutil
|
33 |
import pandas as pd
|
34 |
import numpy as np
|
35 |
+
#import matplotlib.pyplot as plt
|
36 |
import torch.nn.functional as F
|
37 |
|
38 |
# Set the device (GPU or CPU)
|
|
|
166 |
|
167 |
# Testing the dataloader
|
168 |
prod_inputs = next(iter(prod_dl))
|
169 |
+
st.write(prod_inputs['pixel_values'].shape)
|
170 |
|
171 |
## Read image from Camera
|
172 |
#enable = st.checkbox("Enable camera")
|