Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Supervised training gets stuck after training is 100% complete #618

@mrxiaohe

Description

@mrxiaohe

I've been trying to use fastText in Windows command prompt.

D:\fastText>fasttext supervised -input D:\ClassificationTesting\docs_labels_fasttext_train.txt -output D:\ClassificationTesting\model_classificationtesting -epoch 10 -lr 1.0 -wordNgrams 2 -thread 40 -
Read 915M words
Number of words:  3873785
Number of labels: 2
Progress: 100.0% words/sec/thread:  983396 lr:  0.000000 loss:  0.203929 ETA:   0h 0m

Even though training is 100% complete as shown above, fastText doesn't actually terminate and doesn't return to the command prompt (i.e., D:\fastText>), and the task manager shows that fasttext is still running (see screenshot below).

image

This problem seems to go away when I run fastText without the wordNgrams option. I wonder what may have caused this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions