question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Model ID changes after retrain for 3.0 RC1

See original GitHub issue

Rasa Open Source version

3.0.0rc1

Rasa SDK version

No response

Rasa X version

No response

Python version

3.8

What operating system are you using?

OSX

What happened?

  • Train model with rasa train
  • Run server with rasa run
  • POST events to /webhooks/rest/webhook to process them
  • GET tracker from /conversations/{{conversation_id}}/tracker to inspect stored events
  • Stop server
  • Retrain model (using rasa train)
  • Run server (rasa run)
  • POST events to /webhooks/rest/webhook to process them
  • GET tracker from /conversations/{{conversation_id}}/tracker to inspect stored events

Model IDs in the tracker has changed from 55b155688cba4756ba05b0cd5b753034 to 45320b316d46487baf4b9795b073f3f4, also previous messages are not there anymore. If no retraining is done, it works fine and model ID stays the same and previous messages are there.

Model IDs should stay the same after retrains.

This test was under the QA plan for RC1.

Command / Request

No response

Relevant log output

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
usc-mcommented, Nov 11, 2021

What do you mean by this exactly?

Events from before the retrain are persisted and have the original model_id, and then events processed after the retrain have the model_id of the new model (and are also persisted). So model_ids are never changed once set on event objects but can change for the model themselves (my original understanding was that model IDs didn’t change when you retrained a model - like it was associated to the config in some way - which is how I wrote the test case)

1reaction
usc-mcommented, Nov 10, 2021

Yep, looks like it does change after retrain - but I can’t replicate the loss of events. If I use a persistent tracker store (i.e. SQLite) the events from the model before are persisted, as are the ones after the retrain. @joejuzl is this correct behaviour? If so I’ll change the test case on the QA pages to make it more clear

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage your model in AI Builder - Microsoft Learn
Evaluate your model. After you train your model for the first time, you can evaluate its performance and quality on its details page....
Read more >
VTM-3.0rc1 · jvet / VVCSoftware_VTM · GitLab
Includes following items: L0082 10 b coeffs (instead of 11) – this seems clearly the logical thing to do, no loss; L0147 Adopt...
Read more >
Release Notes for Vocollect VoiceConsole® 3.1.1 - Voice Solutions ...
In VoiceConsole 2.4 and earlier, an idle session would timeout after 30 minutes. This timeout has been changed to four hours in VoiceConsole...
Read more >
Designing a QuPath Workstation - #59 by Mike_Nelson ...
Well, because the benchmark uses a fairly huge number of features, it has revealed a problem in v0.3.0-rc1 if the number of processors...
Read more >
Changelog — pSeven 6.36 User Manual - DATADVANCE
Released November 2021. Includes pSeven Core 6.28. Updates and Changes; Compatibility Issues; Documentation; Bugfixes. Updates and Changes¶. Predictive modeling ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found