개정판 7dbe6b6f
issue #655: train 5 times
DTI_PID/DTI_PID/TrainingImageListDialog.py | ||
---|---|---|
189 | 189 |
drawingPath = os.path.join(project.getTrainingFilePath(), hasBox) |
190 | 190 |
drawing = Image.open(drawingPath) |
191 | 191 |
listHasBoxImage.append(drawing) |
192 |
listHasBoxImage.append(drawing) |
|
193 |
listHasBoxImage.append(drawing) |
|
194 |
listHasBoxImage.append(drawing) |
|
195 |
listHasBoxImage.append(drawing) |
|
192 | 196 |
boxPath = os.path.join(project.getTrainingFilePath(), data) |
193 | 197 |
fw = open(boxPath, 'r', encoding='utf8') |
194 | 198 |
boxContent = fw.read() |
195 | 199 |
fw.close() |
196 | 200 |
listBoxes.append(boxContent) |
201 |
listBoxes.append(boxContent) |
|
202 |
listBoxes.append(boxContent) |
|
203 |
listBoxes.append(boxContent) |
|
204 |
listBoxes.append(boxContent) |
|
197 | 205 |
|
198 | 206 |
areasNumber = len(listHasBoxImage) |
199 | 207 |
#print('total text areas : ' + str(areasNumber)) |
내보내기 Unified diff