Tweak logging messages

This commit is contained in:
Starbeamrainbowlabs 2019-08-05 17:08:38 +01:00
parent 3ebc54ef74
commit 5e78f5c788
2 changed files with 1 additions and 3 deletions

View file

@ -105,7 +105,7 @@ export default async function(c) {
AITrainer: awilix.asClass(AITrainer) AITrainer: awilix.asClass(AITrainer)
}); });
l.log(`${a.fgreen}${a.hicol}Training AIs${a.reset}`); l.log(`${a.fgreen}${a.hicol}Training AIs in ${settings.ai.mode} mode${a.reset}`);
let ai_trainer = c.cradle.AITrainer; let ai_trainer = c.cradle.AITrainer;
switch(settings.ai.mode) { switch(settings.ai.mode) {
case "split": case "split":

View file

@ -16,7 +16,6 @@ class AITrainer {
} }
async train_unified() { async train_unified() {
this.l.log(`${this.a.fgreen}${this.a.hicol}Unified training mode activated.${this.a.reset}`);
let filepath = path.join( let filepath = path.join(
this.root_dir, this.root_dir,
"..", "..",
@ -51,7 +50,6 @@ class AITrainer {
} }
async train_all() { async train_all() {
this.l.log(`${this.a.fgreen}${this.a.hicol}Split (default) training mode activated.${this.a.reset}`);
let index = []; let index = [];
for(let gateway of this.repo_gateway.iterate()) { for(let gateway of this.repo_gateway.iterate()) {
let filepath = path.join(this.root_dir, "..", this.settings.ai.output_directory, `${gateway.id}.json`); let filepath = path.join(this.root_dir, "..", this.settings.ai.output_directory, `${gateway.id}.json`);