update extensions

This commit is contained in:
Vladimir Mandic
2023-01-22 20:18:36 -05:00
parent 236b7adeda
commit b27c68e0ff
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -168,6 +168,7 @@ async def preprocess(params):
if len(images) > 0:
img = grid(images, labels = None, width = 2048, height = 2048, border = 8, square = True)
logdir = os.path.abspath(os.path.join(cmdflags['embeddings_dir'], '../train/log'))
Path(logdir).mkdir(parents = True, exist_ok = True)
fn = os.path.join(logdir, params.name + '-inputs.jpg')
img.save(fn)
log.info({ 'preprocess input grid': fn })