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

loadBaseDocs() is called twice in query_predict utility  #299

Description

@slvher

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions