In the example of how to create first classifier in command line there is mentioned following command:
./fasttext supervised -input cooking.train -output model_cooking
The execution leads to following error:
terminate called after throwing an instance of 'std::invalid_argument' what(): cooking.train cannot be opened for training! Aborted (core dumped)
This is due wrong path of input files. The correct one is the following:
./fasttext supervised -input cooking.stackexchange.txt -output model_cooking
https://fasttext.cc/docs/en/supervised-tutorial.html#our-first-classifier
In the example of how to create first classifier in command line there is mentioned following command:
./fasttext supervised -input cooking.train -output model_cooking
The execution leads to following error:
terminate called after throwing an instance of 'std::invalid_argument' what(): cooking.train cannot be opened for training! Aborted (core dumped)
This is due wrong path of input files. The correct one is the following:
./fasttext supervised -input cooking.stackexchange.txt -output model_cooking