Skip to content

Commit fbe7845

Browse files
added the Sequence class
1 parent 8c2c3d1 commit fbe7845

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

web_app/web_app.py

+15-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,18 @@
5454
upsampling = st.checkbox('Yes', True)
5555
st.subheader('Output Format')
5656
format_name = ['HDF5', 'NPZ', 'Rendered Video']
57-
format = st.radio('Select the output format for the generated events', format_name)
57+
format = st.radio('Select the output format for the generated events', format_name)
58+
59+
class Sequence:
60+
#def __init__(self):
61+
#normalize = transforms.Normalize(mean=mean, std=std)
62+
#self.transform = transforms.Compose([transforms.ToTensor(), normalize])
63+
64+
def __iter__(self):
65+
return self
66+
67+
def __next__(self):
68+
raise NotImplementedError
69+
70+
def __len__(self):
71+
raise NotImplementedError

0 commit comments

Comments
 (0)