-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logs are printed without values #2914
Comments
That's really weird. The logging code is here, I don't see how that can happen: @amirdor can you try the following please: import logging
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(filename)s:%(lineno)s - %(message)s')
logging.info(
"EPOCH %i - PROGRESS: at %.2f%% examples, %.0f words/s, in_qsize %i, out_qsize %i",
1, 2, 3, 4, 5
)
import gensim
gensim.models.word2vec.logger.info(
"EPOCH %i - PROGRESS: at %.2f%% examples, %.0f words/s, in_qsize %i, out_qsize %i",
1, 2, 3, 4, 5
) |
@piskvorky im getting
|
The log format in your output is completely different from what was configured in The only explanation is your Closing here – this is clearly not a Gensim issue, because even the first |
Problem description
the logs of
build_vocab
andtrain
are printed without the values insideexamples:
model.build_vocab(sentences=docs, progress_per=10000)
model.train(sentences=docs, total_examples=len(docs), epochs=3)
it happened both for FastText and Word2Vec models
Versions
Linux-4.9.217-0.1.ac.205.84.332.metal1.x86_64-x86_64-with-redhat-5.3-Tikanga
Python 3.6.10 (default, Jul 27 2020, 00:14:34)
[GCC 4.9.4]
Bits 64
NumPy 1.19.1
SciPy 1.2.1
gensim 3.8.3
FAST_VERSION 1
The text was updated successfully, but these errors were encountered: