Comments (15)
问题在导入模型前是需要替换成分的。
比如:重庆的天气 -> __location__的天气,__location__会被记录下来。
这句话对应一个Action: __actWeather__。
目前显示__actWeather__,说明对应成功了,但需要调用一个Action方法,如Action.py 中的actWeather 方法,我这里是取消了的。
from dynamic-seq2seq.
已更新。
from dynamic-seq2seq.
Action怎么调用的,能看下原来的代码吗?现在显示什么都是类似:我是__robotname__ 。
from dynamic-seq2seq.
action.py 中有相应的代码。
robotname 可以替换成您机器人的名字,取决于你。
from dynamic-seq2seq.
@yanwii 谢谢,请问在哪里还?我的理解是在infer模式下,输入地名,会直接调用action中查找相关地区的天气?目前一直显示的是类似__actWeather__的回复,这个应该是没有调用成功?
from dynamic-seq2seq.
请问是在哪里调用这个(actWeather)方法?
from dynamic-seq2seq.
from action import Action
ac = Action()
ac.actWeather()
from dynamic-seq2seq.
请问在哪里调用呢?
from dynamic-seq2seq.
ac = Action()
ac.actWeather()请问这应该插入到哪里啊
有没改过的代码吗?
from dynamic-seq2seq.
稍后我会补全
from dynamic-seq2seq.
非常感谢
from dynamic-seq2seq.
您好,希望您有空把action加进去,非常感谢
from dynamic-seq2seq.
您好,现在您还没有把action加进去,希望您有空把action加进去,非常感谢
from dynamic-seq2seq.
这个模型已经过时,稍后我会更新到最新的api,再将action加进去
from dynamic-seq2seq.
已更新,具体请看Action
from dynamic-seq2seq.
Related Issues (20)
- 训练报错--assert len(self.data) > 0, ValueError("训练数据为空") HOT 1
- 怎么样动态查询天气? HOT 1
- 训练自己的预料库出现了问题,decoder_label的维度和logits的维度不匹配 HOT 9
- 请问你在训练模型的时候训练了多久啊? HOT 4
- 想改用自己的训练数据时 出现InvalidArgumentError,不知道是什么原因 HOT 4
- 模型训练 HOT 3
- 大神,请问为什么我训练的数据一直不收敛啊
- 每个回答后面都有__EOS__
- 你好,请问这个是说我没有训练吗?我看里面有你之前训练的模型,我直接拿来试一试。 HOT 6
- 我加入一个循环输入之后,运行一直卡在这里,请问大神知道原因吗? HOT 3
- [Error] 出現not found model HOT 1
- 生成词向量用的是什么方法啊? HOT 1
- 我使用了小黄鸡的语料,loss值在1左右,但是效果还是很差 HOT 1
- 没有过滤掉词频较小的词? HOT 1
- 多轮对话的程序有进展吗
- 训练时,label与logits第一维度不匹配 HOT 10
- 是否能提供一個接口餵入pre training的Embedding
- error HOT 2
- encoder_vocab_size 如何设置? HOT 10
- train error HOT 2
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 dynamic-seq2seq.