Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -16,4 +16,11 @@ st.image(figure1, caption='The text-image matching example. (1)')
|
|
16 |
|
17 |
st.markdown("In the animal classification, we use two different datasets. The first dataset has four kinds of animals, including elephants, buffalo, rhino, and zebra. In the second dataset, we added dog, cat, cow, sheep, chicken, and horse on the basis of the original four animals, and expanded the types of animals to ten. In the meanwhile, the amount of data for different animal species is unbalanced. We need to use CLIP to complete the classification of animals")
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
|
|
16 |
|
17 |
st.markdown("In the animal classification, we use two different datasets. The first dataset has four kinds of animals, including elephants, buffalo, rhino, and zebra. In the second dataset, we added dog, cat, cow, sheep, chicken, and horse on the basis of the original four animals, and expanded the types of animals to ten. In the meanwhile, the amount of data for different animal species is unbalanced. We need to use CLIP to complete the classification of animals")
|
18 |
|
19 |
+
st.markdown("### Approach")
|
20 |
+
|
21 |
+
st.markdown("We used the CLIP model designed by OpenAI to complete these two tasks. ")
|
22 |
+
|
23 |
+
figure1 = Image.open('images/img2.png')
|
24 |
+
st.image(figure1, caption='The source of figure: https://github.com/openai/CLIP (1)')
|
25 |
+
|
26 |
|