Comments (10)
请问怎么解决的,我和你遇到一样的问题
from dynamic-seq2seq.
请问怎么解决的,我和你遇到一样的问题
至今依旧没有解决,我尝试更改代码,并按照网络论坛给出的方法,截断logits与label长度一致,但很遗憾没有起到作用。
from dynamic-seq2seq.
试着调整 encoder_vocab_size, decoder_vocab_size这两个参数
from dynamic-seq2seq.
试着调整 encoder_vocab_size, decoder_vocab_size这两个参数
self.encoder_vocab_size = data_map.get("Q_vocab_size")是根据词表的个数来的,并非自行设置的,应该是没有错的吧,只要训练step超过100就会报错。训练到101 就会报错
from dynamic-seq2seq.
试着调整 encoder_vocab_size, decoder_vocab_size这两个参数
self.encoder_vocab_size = data_map.get("Q_vocab_size")是根据词表的个数来的,并非自行设置的,应该是没有错的吧,只要训练step超过100就会报错。训练到101 就会报错
动态lstm里有encoder_vocab_size和decoder_vocab_size两参数,但是不知道具体意义,seq2seq文件的初始化里的两个参数是根据预料分词来的,不能做改变。我看到后面进行序列编码时,用的是它的长度,最后得出来logits与label长度不一致报错。昨天调过两个参数,依旧还是老样子。
from dynamic-seq2seq.
请问一下你们的TensorFlow是什么版本的。
from dynamic-seq2seq.
请问一下你们的TensorFlow是什么版本的。
Tensorflow-GPU 1.5
from dynamic-seq2seq.
请问,你在嵌入层是如何实现中文序列化?独热编码还是其他的方式,我看到生成的文本内容不像是one hot矩阵,像是16进制
from dynamic-seq2seq.
试着调整encoder_vocab_size,decoder_vocab_size这两个参数
self.encoder_vocab_size = data_map.get(“ Q_vocab_size”)是根据词表的个数来的,而不是永久设置的,应该是没有错的吧,只要训练step超过100就会报错。训练到101就会报错
解决这个问题了嘛
from dynamic-seq2seq.
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
- 多轮对话的程序有进展吗
- 是否能提供一個接口餵入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.