Skip to content

Commit

Permalink
todo note
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom O'Hara committed Oct 16, 2023
1 parent 3cb7815 commit 73d6e5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mezcla/text_categorizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ def load(self, filename):
debug.trace_fmtd(4, "tc.load({f})", f=filename)
try:
if XGB_JSON:
## TODO2: fix assignment
self.classifier = xgb.XGBModel.load_model(filename)
## HACK: load keys separately
self.keys = json.loads(system.read_file(filename + ".keys"))
Expand Down

0 comments on commit 73d6e5b

Please sign in to comment.