1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-09-11 10:25:40 +03:00
leon/scripts/train/run-train.js

15 lines
231 B
JavaScript
Raw Normal View History

import { LogHelper } from '@/helpers/log-helper'
2019-02-10 15:26:50 +03:00
import train from './train'
2019-02-10 15:26:50 +03:00
/**
* Execute the training scripts
2019-02-10 15:26:50 +03:00
*/
2022-09-03 14:12:41 +03:00
;(async () => {
2019-02-10 15:26:50 +03:00
try {
await train()
} catch (e) {
LogHelper.error(`Failed to train: ${e}`)
2019-02-10 15:26:50 +03:00
}
})()