Spaces:
Sleeping
Sleeping
Commit
·
c95a7e0
1
Parent(s):
e8da8c2
update description
Browse files
app.py
CHANGED
|
@@ -32,12 +32,11 @@ if model_name is not None:
|
|
| 32 |
test_transforms = make_test_transforms(image_size)
|
| 33 |
|
| 34 |
# Instructions
|
| 35 |
-
st.write("If you choose to upload an image, the
|
| 36 |
-
|
| 37 |
-
st.write("The model is trained to focus on different parts of the salient objects in the image based on the dataset.")
|
| 38 |
st.write("If you choose one of the CUB or NABirds models, please choose a bird image.")
|
| 39 |
st.write("If you choose one of the Flower models, please choose a flower image.")
|
| 40 |
-
st.write("If you choose one of the PartImageNet models, please choose an
|
| 41 |
|
| 42 |
image_name = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"]) # Upload an image
|
| 43 |
if image_name is not None:
|
|
|
|
| 32 |
test_transforms = make_test_transforms(image_size)
|
| 33 |
|
| 34 |
# Instructions
|
| 35 |
+
st.write("If you choose to upload an image, the part assignment will be visualized. "
|
| 36 |
+
"The model is trained to discover parts of the salient objects in the image depending on the training dataset.")
|
|
|
|
| 37 |
st.write("If you choose one of the CUB or NABirds models, please choose a bird image.")
|
| 38 |
st.write("If you choose one of the Flower models, please choose a flower image.")
|
| 39 |
+
st.write("If you choose one of the PartImageNet models, please choose an image of classes from PartImageNet like land animals/birds/cars/bottles/airplanes.")
|
| 40 |
|
| 41 |
image_name = st.file_uploader("Upload an image", type=["jpg", "jpeg", "png"]) # Upload an image
|
| 42 |
if image_name is not None:
|