Skip to content

Commit cc3c78b

Browse files
committed
fruit dataset corrected
1 parent e08e02c commit cc3c78b

File tree

3 files changed

+82
-21
lines changed

3 files changed

+82
-21
lines changed

data/fruits/valid/_annotations.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ fresh_banana8_jpeg.rf.d0c65fdd8a200236b0888a6b769c3903.jpg 78,131,301,264,46
22
fresh_banana35_jpeg.rf.687f032a4b6e7079a27584f2d692192a.jpg 86,77,363,362,46
33
fresh_banana48_jpeg.rf.15f50cf86e37055490108357ed72f439.jpg 31,135,149,407,46
44
fresh_orange-36-_JPG.rf.693a68ccc89a8ad028beab349685f7a2.jpg 34,82,328,402,49
5+
fresh_orange-66-_jpg.rf.715315512601a379b8aedeb875381aa5.jpg 119,102,181,186,49 176,87,233,154,49 153,156,216,234,49 244,87,307,173,49 283,215,364,301,49
56
fresh_orange-71-_jpg.rf.4654bd63a78b16e47328cf7e81b1f756.jpg 48,68,215,190,49 52,187,214,317,49 195,133,368,268,49
67
fresh-apple--12-_jpg.rf.8598b95f486afe00c0033690291fb004.jpg 11,4,380,397,47
78
fresh-apple--41-_jpg.rf.c4ce57026cd9deee71c2cf0856bbd13c.jpg 44,41,371,393,47

data/fruits/valid/_classes.txt

Lines changed: 80 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,80 @@
1-
0
2-
1
3-
10
4-
11
5-
12
6-
13
7-
14
8-
15
9-
16
10-
17
11-
18
12-
19
13-
2
14-
3
15-
4
16-
5
17-
6
18-
7
19-
8
20-
9
1+
person
2+
bicycle
3+
car
4+
motorbike
5+
aeroplane
6+
bus
7+
train
8+
truck
9+
boat
10+
traffic light
11+
fire hydrant
12+
stop sign
13+
parking meter
14+
bench
15+
bird
16+
cat
17+
dog
18+
horse
19+
sheep
20+
cow
21+
elephant
22+
bear
23+
zebra
24+
giraffe
25+
backpack
26+
umbrella
27+
handbag
28+
tie
29+
suitcase
30+
frisbee
31+
skis
32+
snowboard
33+
sports ball
34+
kite
35+
baseball bat
36+
baseball glove
37+
skateboard
38+
surfboard
39+
tennis racket
40+
bottle
41+
wine glass
42+
cup
43+
fork
44+
knife
45+
spoon
46+
bowl
47+
banana
48+
apple
49+
sandwich
50+
orange
51+
broccoli
52+
carrot
53+
hot dog
54+
pizza
55+
donut
56+
cake
57+
chair
58+
sofa
59+
pottedplant
60+
bed
61+
diningtable
62+
toilet
63+
tvmonitor
64+
laptop
65+
mouse
66+
remote
67+
keyboard
68+
cell phone
69+
microwave
70+
oven
71+
toaster
72+
sink
73+
refrigerator
74+
book
75+
clock
76+
vase
77+
scissors
78+
teddy bear
79+
hair drier
80+
toothbrush

train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _main():
157157
# The occupied video memory is large, and all the parameters of the network will be changed
158158
# =======================================================
159159
unfreeze_epoch = 50
160-
unfreeze_batch_size = int(TRAIN_BATCH_SIZE / 2)
160+
unfreeze_batch_size = VAL_BATCH_SIZE
161161
unfreeze_lr = 1e-4
162162

163163
# =======================================================

0 commit comments

Comments
 (0)