Spaces:
Runtime error
Runtime error
bbb
Browse files
pages/3_Oxford_Vases_Disentanglement.py
CHANGED
@@ -147,7 +147,8 @@ img = generate_original_image(original_image_vec, model, latent_space=st.session
|
|
147 |
cols = list(ann_df.columns)
|
148 |
cols.remove('Unnamed: 0')
|
149 |
cols.remove('ID')
|
150 |
-
|
|
|
151 |
# input_image = original_image_dict['image']
|
152 |
# input_label = original_image_dict['label']
|
153 |
# input_id = original_image_dict['id']
|
|
|
147 |
cols = list(ann_df.columns)
|
148 |
cols.remove('Unnamed: 0')
|
149 |
cols.remove('ID')
|
150 |
+
print(ann_df.loc[st.session_state.image_id, cols])
|
151 |
+
top_pred = ann_df.loc[st.session_state.image_id, cols].astype(float).idxmax()
|
152 |
# input_image = original_image_dict['image']
|
153 |
# input_label = original_image_dict['label']
|
154 |
# input_id = original_image_dict['id']
|