Fix route layer

This commit is contained in:
Marcos Luciano
2022-08-16 14:36:52 -03:00
parent ab082fc292
commit dc023b308e
6 changed files with 33 additions and 21 deletions

View File

@@ -135,7 +135,8 @@ class Layers(object):
self.fc.write('[net]\n' +
'width=%d\n' % self.width +
'height=%d\n' % self.height +
'channels=3\n')
'channels=3\n' +
'letter_box=1\n')
def reorg(self):
self.blocks[self.current] += 1