From ff1250fd03561ba3d3e07b85a194d407fe3920d8 Mon Sep 17 00:00:00 2001 From: yinhaofeng <1841837261@qq.com> Date: Tue, 22 Sep 2020 07:16:41 +0000 Subject: [PATCH] add some notes --- models/rank/fm/data/get_slot_data.py | 2 +- models/rank/fm/readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/rank/fm/data/get_slot_data.py b/models/rank/fm/data/get_slot_data.py index 0f0c217d..f9605d50 100644 --- a/models/rank/fm/data/get_slot_data.py +++ b/models/rank/fm/data/get_slot_data.py @@ -79,7 +79,7 @@ class Reader(dg.MultiSlotDataGenerator): v = i[1] for j in v: s += " " + k + ":" + str(j) - print(s.strip()) + print(s.strip()) # add print for data preprocessing return data_iter diff --git a/models/rank/fm/readme.md b/models/rank/fm/readme.md index 80706712..44e7659a 100644 --- a/models/rank/fm/readme.md +++ b/models/rank/fm/readme.md @@ -151,7 +151,7 @@ class Reader(dg.MultiSlotDataGenerator): v = i[1] for j in v: s += " " + k + ":" + str(j) - print(s.strip()) + print(s.strip()) # add print for data preprocessing return data_iter reader = Reader( "../config.yaml") # run this file in original folder to find config.yaml -- GitLab