Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

loadBaseDocs() is called twice in query_predict utility #299

Open
slvher opened this issue Dec 14, 2020 · 0 comments
Open

loadBaseDocs() is called twice in query_predict utility #299

slvher opened this issue Dec 14, 2020 · 0 comments

Comments

@slvher
Copy link

slvher commented Dec 14, 2020

If model is trained with trainMode=0 and fileFormat="labelDoc", and the query_predict utility is started with savedModel (instead of model.tsv), loadBaseDocs() will be called twice, at L33 and L41 respectively.
In such a situation, duplicated results will be returned by query_predict, due to labelDoc file is loaded twice.

$ ./bin/query_predict model/ss_model 6 data/basedoc.data

NOTE: "model/ss_model" is the savedModel name and "data/basedoc.data" is the basedoc file name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant