diff --git a/models/rank/fm/data/get_slot_data.py b/models/rank/fm/data/get_slot_data.py index f0b95a79c70d7c9da8b327884c17206e6b76f731..0f0c217d0be374f66cfb3a7445abbff35183e019 100644 --- a/models/rank/fm/data/get_slot_data.py +++ b/models/rank/fm/data/get_slot_data.py @@ -80,7 +80,6 @@ class Reader(dg.MultiSlotDataGenerator): for j in v: s += " " + k + ":" + str(j) print(s.strip()) - yield None return data_iter diff --git a/models/rank/fm/readme.md b/models/rank/fm/readme.md index e2284faff4d051988eb94267c9dcdfc5bb30c436..8070671275a48184c6d68a9783796c6600935433 100644 --- a/models/rank/fm/readme.md +++ b/models/rank/fm/readme.md @@ -152,7 +152,6 @@ class Reader(dg.MultiSlotDataGenerator): for j in v: s += " " + k + ":" + str(j) print(s.strip()) - yield None return data_iter reader = Reader( "../config.yaml") # run this file in original folder to find config.yaml