Comments (6)
halo, i run test with set train_mode =False python src/dialogue_system/run/run.py --saved_model=path_to_your_model --train_mode=False but error is: 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 this checkpoint files is generate when train_mode =True so this miss file is generate in special paramater or just loss and not upload in git
you can take the saved_model path, from checkpoint.txt in "src\dialogue_system\model\dqn\checkpoint04"
from medicalchatbot.
There is a parameter in run.py, namely train_mode. Changing it to False for testing and the code will use the testing samples automatically. The printed results are the performances of the trained model evaluated on testing set.
python src/dialogue_system/run/run.py --saved_model=path_to_your_model --train_mode=False
from medicalchatbot.
halo, i run test with set train_mode =False
python src/dialogue_system/run/run.py --saved_model=path_to_your_model --train_mode=False
but error is:
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
this checkpoint files is generate when train_mode =True
so this miss file is generate in special paramater or just loss and not upload in git
from medicalchatbot.
halo, i run test with set train_mode =False
python src/dialogue_system/run/run.py --saved_model=path_to_your_model --train_mode=False
but error is:
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
this checkpoint files is generate when train_mode =True
so this miss file is generate in special paramater or just loss and not upload in git
i fix this question by rename the train checkpoint file by the require name model_d4_agent1_dqn1_s0.619_r18.221_t4.266_wd0.0_e432.ckpt
it works
from medicalchatbot.
当我x训练完成,测试时直接退出了程序:
`save/SaveV2/tensor_names: (Const): /job:localhost/replica:0/task:0/device:CPU:0
save/SaveV2/shape_and_slices: (Const): /job:localhost/replica:0/task:0/device:CPU:0
save/RestoreV2/tensor_names: (Const): /job:localhost/replica:0/task:0/device:CPU:0
save/RestoreV2/shape_and_slices: (Const): /job:localhost/replica:0/task:0/device:CPU:0
loading trained model
Process finished with exit code -1073741819 (0xC0000005)`
from medicalchatbot.
是因为缺少--dialogue_file参数的文件吗?我想复原整个对话流程应该怎么做
from medicalchatbot.
Related Issues (13)
- how to run? HOT 1
- A data file folder missing error HOT 3
- The test results of each run are diffirent. Is this a bug? 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.