Haofeng commited on
Commit
01eae42
1 Parent(s): b229ff8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -5,9 +5,15 @@ st.title('Text-Image matching and Animal Classification via CLIP')
5
 
6
  st.markdown("## Overview")
7
 
8
- st.markdown("Problem: In this project, we use CLIP to achieve two tasks: text-image matching and animal classification.")
 
 
9
 
10
  st.markdown("When we were children, we all encountered some connecting questions, like in Figure 1, we need to match pictures and words together. In the text-image matching task, we will give some possible options and let our model identify which is the most likely option.")
11
 
12
  figure1 = Image.open('images/img1.jpg')
13
  st.image(figure1, caption='The text-image matching example. (1)')
 
 
 
 
 
5
 
6
  st.markdown("## Overview")
7
 
8
+ st.markdown("### Problem")
9
+
10
+ st.markdown("In this project, we use CLIP to achieve two tasks: text-image matching and animal classification.")
11
 
12
  st.markdown("When we were children, we all encountered some connecting questions, like in Figure 1, we need to match pictures and words together. In the text-image matching task, we will give some possible options and let our model identify which is the most likely option.")
13
 
14
  figure1 = Image.open('images/img1.jpg')
15
  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
+