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

Remove load_model warning from logs #37

Closed
fridex opened this issue Aug 17, 2020 · 5 comments
Closed

Remove load_model warning from logs #37

fridex opened this issue Aug 17, 2020 · 5 comments
Labels
kind/question Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@fridex
Copy link
Contributor

fridex commented Aug 17, 2020

Describe the question

Each time the tool is run, I see the following warning message produced:

Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very similar.

To Reproduce
Steps to reproduce the behavior:

  1. Run thoth-glyph on any message:
$ thoth-glyph classify -m "Fix issue with numerical computation"
2020-08-17 11:33:11,898 380438 WARNING  thoth.common:346: Logging to a Sentry instance is turned off
2020-08-17 11:33:11,898 380438 INFO     thoth.common:368: Logging to rsyslog endpoint is turned off
2020-08-17 11:33:11,899 380438 INFO     glyph:68: Version: 0.1.0
2020-08-17 11:33:11,899 380438 INFO     glyph:83: Classifying commit
2020-08-17 11:33:11,899 380438 INFO     thoth.glyph.models:33: Model Path : /home/fpokorny/.local/share/virtualenvs/a- 
EouiYCWm/lib/python3.7/site-packages/thoth/glyph/data/model_commits_v2_quant.bin
Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very 
similar.
Label : corrective
  1. See the warning produced:

Expected behavior

No such warning should be present in logs.

@tushar7sharma
Copy link
Contributor

Describe the question

Each time the tool is run, I see the following warning message produced:

Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very similar.

To Reproduce
Steps to reproduce the behavior:

  1. Run thoth-glyph on any message:
$ thoth-glyph classify -m "Fix issue with numerical computation"
2020-08-17 11:33:11,898 380438 WARNING  thoth.common:346: Logging to a Sentry instance is turned off
2020-08-17 11:33:11,898 380438 INFO     thoth.common:368: Logging to rsyslog endpoint is turned off
2020-08-17 11:33:11,899 380438 INFO     glyph:68: Version: 0.1.0
2020-08-17 11:33:11,899 380438 INFO     glyph:83: Classifying commit
2020-08-17 11:33:11,899 380438 INFO     thoth.glyph.models:33: Model Path : /home/fpokorny/.local/share/virtualenvs/a- 
EouiYCWm/lib/python3.7/site-packages/thoth/glyph/data/model_commits_v2_quant.bin
Warning : `load_model` does not return WordVectorModel or SupervisedModel any more, but a `FastText` object which is very 
similar.
Label : corrective
  1. See the warning produced:

Expected behavior

No such warning should be present in logs.

They have removed this warning message from future releases.
facebookresearch/fastText#1067

@sesheta sesheta added kind/question Categorizes issue or PR as a support question. and removed question labels Jan 28, 2021
@sesheta
Copy link
Member

sesheta commented Apr 28, 2021

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@sesheta sesheta added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 28, 2021
@sesheta
Copy link
Member

sesheta commented May 28, 2021

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

@sesheta sesheta added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 28, 2021
@sesheta
Copy link
Member

sesheta commented Jun 27, 2021

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

@sesheta sesheta closed this as completed Jun 27, 2021
@sesheta
Copy link
Member

sesheta commented Jun 27, 2021

@sesheta: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

3 participants