Comments (4)
I realise from your code sample this isn't the case for you, but I was getting the following abort trap 6 because I was using the incorrect parameter combinations
Commands I was using
./fasttext skipgram -input train.txt -output model
./fasttext test model.bin text.txt
Assertion failed: (counts.size() == osz_), function setTargetCounts, file src/model.cc, line 157.
Commands I should have been using
./fasttext supervised -input train.txt -output model
./fasttext predict model.bin text.txt
from fasttext.
I found author update the source and readme file,After recompiling the source,the mistake disappear. However,the prediction output vector is null. I don't know why. can anybody help me ?Thank you very much!
from fasttext.
The output fasttext predict
is one label per line, not vectors.
from fasttext.
Thank you very much ,my problem was solved,I should run the code according to file classification-results.sh
from fasttext.
Related Issues (20)
- if i want to load pretrained model and train, what should i do HOT 1
- How is the underlying embedding matrix updated?
- Cannot install FastText on Windows using pip HOT 6
- Fa
- Improved LangID model?
- Run WASM in web worker HOT 1
- Name of the researchers in references doesn't look aligned well.
- Is there any implementation using fastutil to save memory?
- Makefile dependency errors
- How to do a nearest neighbor search with input of a word vector rather than a word?
- Is fasttext reentrant?
- the number of words in a one-million-token corpus is only 15173?
- The Neapolitan model is unusable
- Backward compatibility with C++11 HOT 2
- Github
- Buid dependency errors in Makefile
- The
- H
- Classify the sentence by keywords. Best approach?
- Failed install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fasttext.