Skip to content

Issue saving model using logging package #1

@SteveH-US

Description

@SteveH-US

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions