-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtf_Sensei.ui
328 lines (328 loc) · 9.29 KB
/
tf_Sensei.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>frmmain</class>
<widget class="QMainWindow" name="frmmain">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>801</width>
<height>603</height>
</rect>
</property>
<property name="windowTitle">
<string>TF Sensei</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>781</width>
<height>81</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p align="justify">Welcome to TF sensei, a GUI based utility for training on your own datasets/models(TODO) using the Google Tensorflow Object Detection API. This program uses code snippets from <a href="https://github.com/datitran/raccoon_dataset"><span style=" text-decoration: underline; color:#0000ff;">https://github.com/datitran/raccoon_dataset</span></a> Also thanks to sentdex from <a href="https://pythonprogramming.net/"><span style=" text-decoration: underline; color:#0000ff;">https://pythonprogramming.net/</span></a> for his awesome tutorials on machine learning and Tensorflow.</p></body></html></string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="scaledContents">
<bool>false</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>160</y>
<width>781</width>
<height>201</height>
</rect>
</property>
<property name="title">
<string>Dataset Options:</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>621</width>
<height>91</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p align="justify">Path to a directory containing all data images(train and test folders inside that directory). Images must be annotated. you can download the annotator from <a href="https://github.com/tzutalin/labelImg"><span style=" text-decoration: underline; color:#0000ff;">https://github.com/tzutalin/labelImg</span></a> . Download and extract the LabelImg directory here. If your have it already, paste the directory into tf_sensei directory. Then you would be able to run it from here,</p></body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="bttnlaunchannotator">
<property name="geometry">
<rect>
<x>470</x>
<y>155</y>
<width>131</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Launch Tool</string>
</property>
</widget>
<widget class="QPushButton" name="bttnbrowse">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>99</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>Browse...</string>
</property>
</widget>
<widget class="QLabel" name="lbldatafolder">
<property name="geometry">
<rect>
<x>110</x>
<y>130</y>
<width>341</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="bttngenerate">
<property name="geometry">
<rect>
<x>110</x>
<y>155</y>
<width>341</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Generate TFRecords and Label map</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>640</x>
<y>30</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>List of labels</string>
</property>
</widget>
<widget class="QListWidget" name="lstlabels">
<property name="geometry">
<rect>
<x>640</x>
<y>50</y>
<width>131</width>
<height>141</height>
</rect>
</property>
</widget>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>501</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Path to a project directory where all the necessary files will be created</string>
</property>
</widget>
<widget class="QLabel" name="lblprojectpath">
<property name="geometry">
<rect>
<x>100</x>
<y>125</y>
<width>521</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QPushButton" name="bttnbrowseprj">
<property name="geometry">
<rect>
<x>10</x>
<y>120</y>
<width>71</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Browse...</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="geometry">
<rect>
<x>10</x>
<y>360</y>
<width>781</width>
<height>161</height>
</rect>
</property>
<property name="title">
<string>Model Options:</string>
</property>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>751</width>
<height>101</height>
</rect>
</property>
<property name="text">
<string><html><head/><body><p align="justify">You can select from existing models or you may decide to use your own. Right now, the GUI does not support creating own models. So just select one from the existing list of models and it will be downloaded and extracted and its config file would be automatically added for tuning. Just make sure you are using the latest version of the API(config files would be fetched from the samples folder so you can paste the config file there if you want)</p></body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="label_7">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Select Model:</string>
</property>
</widget>
<widget class="QComboBox" name="cbomodels">
<property name="geometry">
<rect>
<x>110</x>
<y>125</y>
<width>201</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="bttnloadmodel">
<property name="geometry">
<rect>
<x>320</x>
<y>125</y>
<width>99</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Load Model</string>
</property>
</widget>
<widget class="QPushButton" name="bttneditconfig">
<property name="geometry">
<rect>
<x>560</x>
<y>125</y>
<width>191</width>
<height>27</height>
</rect>
</property>
<property name="text">
<string>Set config file...</string>
</property>
</widget>
<widget class="QProgressBar" name="dwp">
<property name="geometry">
<rect>
<x>430</x>
<y>128</y>
<width>118</width>
<height>23</height>
</rect>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
</widget>
<widget class="QTextEdit" name="txtstatus">
<property name="geometry">
<rect>
<x>20</x>
<y>520</y>
<width>481</width>
<height>71</height>
</rect>
</property>
<property name="undoRedoEnabled">
<bool>false</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="bttntrain">
<property name="geometry">
<rect>
<x>510</x>
<y>520</y>
<width>121</width>
<height>71</height>
</rect>
</property>
<property name="text">
<string>Generate
Trainer Script</string>
</property>
</widget>
<widget class="QPushButton" name="bttngettrainedmodel">
<property name="geometry">
<rect>
<x>640</x>
<y>520</y>
<width>121</width>
<height>71</height>
</rect>
</property>
<property name="text">
<string>Export
Inference
Graph</string>
</property>
</widget>
</widget>
</widget>
<resources/>
<connections/>
</ui>