Comments (3)
Thank you very much for pointing this out and fixing it. I always thought it was caused by the randomness of the user simulator. Thanks again!
from medicalchatbot.
I run test from saved model, but the SR/ABSR of each run is very different.
In src/dialogue_system/agent/agent.py, the _build_action_space method feasible_actions are Initialized from slot_set and disease_symptom which are loaded from pickle. So the action order in action_sapce may be different.
I modified the code in
line 262:for slot in sorted(self.slot_set.keys()):
line 269:for disease in sorted(self.disease_symptom.keys()):
it worked for me.
halo, i have some question when run test,
ValueError: The passed save_path is not a valid checkpoint: ./../model/dqn/checkpoint/checkpoint_d4_agt1_dqn1/model_d4_agent1_dqn1_s0.619_r18.221_t4.266_wd0.0_e432.ckpt
did you have same question
from medicalchatbot.
Eseguo il test dal modello salvato, ma l'SR/ABSR di ogni corsa è molto diverso.
In src/dialogue_system/agent/agent.py, il metodo _build_action_space feasible_actions viene inizializzato da slot_set e disease_symptom che vengono caricati da pickle. Quindi l'ordine delle azioni in action_sapce potrebbe essere diverso.
Ho modificato il codice nella
riga 262:for slot in sorted(self.slot_set.keys()):
riga 269:for disease in sorted(self.disease_symptom.keys()):
ha funzionato per me.alone, ho qualche domanda quando si esegue il test, ValueError: il save_path passato non è un checkpoint valido: ./../model/dqn/checkpoint/checkpoint_d4_agt1_dqn1/model_d4_agent1_dqn1_s0.619_r18.221_t4.266_wd0.0_e432.ckpt hai avuto la stessa domanda
you can take the saved_model path, from checkpoint.txt in "src\dialogue_system\model\dqn\checkpoint04"
from medicalchatbot.
Related Issues (13)
- how to run? HOT 1
- how to run test HOT 6
- A data file folder missing error HOT 3
- 数据不完整,是否能够提供完整数据集呢? HOT 1
- 数据集不能下载 HOT 5
- The conversation data HOT 1
- License of dataset? HOT 1
- ValueError: Cannot feed value of shape (30, 1379) for Tensor 'input:0', which has shape '(?, 379)'
- Dataset HOT 1
- 原始对话数据集 HOT 1
- how can i start the bot, after train and test?
- 训练模型
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medicalchatbot.