Skip to content
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

Issue saving model using logging package #1

Open
SteveH-US opened this issue Feb 27, 2020 · 1 comment
Open

Issue saving model using logging package #1

SteveH-US opened this issue Feb 27, 2020 · 1 comment

Comments

@SteveH-US
Copy link

When running

python ./modeller.py --db topics --coll movies --model example.model

I see this error

INFO : EPOCH - 10 : training on 105501 raw words (98608 effective words) took 0.2s, 516351 effective words/s
INFO : training on a 1055010 raw words (985881 effective words) took 2.0s, 504122 effective words/s
INFO : saving Doc2Vec object under example.model, separately None
INFO : saved example.model
INFO : precomputing L2-norms of doc weight vectors
--- Logging error ---
Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/__init__.py", line 1025, in emit
    msg = self.format(record)
  File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/__init__.py", line 869, in format
    return fmt.format(record)
  File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/__init__.py", line 608, in format
    record.message = record.getMessage()
  File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/logging/__init__.py", line 369, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting

Repeated many times.

@sindbach
Copy link
Owner

Hi @SteveH-US,

Sorry for the late reply. This has been fixed in main.
Please give this another try when you have the chance.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants