pull model from server
See original GitHub issueRasa Core version: 0.13.2
Python version: 3.6
Operating system (windows, osx, …): Ubuntu 16
Issue:
the method _pull_model_and_fingerprint return always a etag, even the last one is not changed.
if response.status_code in [204, 304]:
logger.debug("Model server returned {} status code, indicating "
"that no new model is available. "
"Current fingerprint: {}"
"".format(response.status_code, fingerprint))
return response.headers.get("ETag")
The returned etag will trigger the updating of agent later in _update_model_from_server:
new_model_fingerprint = _pull_model_and_fingerprint(
model_server, model_directory, agent.fingerprint)
if new_model_fingerprint:
domain_path = os.path.join(os.path.abspath(model_directory),
"domain.yml")
domain = Domain.load(domain_path)
policy_ensemble = PolicyEnsemble.load(model_directory)
agent.update_model(domain, policy_ensemble, new_model_fingerprint)
This will make an File not found error as no zipped model has been pulled from server, but _update_model_from_server
tries to load the model in a non-existing tmp directory.
Or did I missed something ?
Content of domain file (if used & relevant):
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Thoughts on Push vs Pull Architectures | by Jeff Poole - Medium
Next, what I call “pull” architectures. This is when the server requests work, usually not directly from the client, but often through an ......
Read more >Pull technology - Wikipedia
Pull requests form the foundation of network computing, where many clients request data from centralized servers. Pull is used extensively on the Internet ......
Read more >Server Push versus Client Pull - Web Caching and ... - O'Reilly
Prefetched data can be pushed by servers onto clients or pulled by clients from servers. With server push, servers send prefetched data to...
Read more >Pull Model - Oracle Help Center
In the pull model, the External Processor has the responsibility of polling for documents to process which it does by using the standard...
Read more >Push or pull model - MSDN - Microsoft
I have a question, I'm developing an application where a server needs to send data to multiple clients. Now I was thinking of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just create a pull request to fix this bug, please check
sounds great 😃