-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教用DBN做一维数据预测 #17
Comments
应该可以支持一维,我写了支持一维的。你试试。 |
作者您好,我在用DBN预测BMS的demo预测自己的数据集时(shape=[4000,14]),修改batch_size=100,训练可以运行,但是到了微调的时候报错, |
数据维度不匹配 你看自己的数据为啥是那样的 和你设置的不符合
…------------------ 原始邮件 ------------------
发件人: Jinx_Maxwell <notifications@github.com>
发送时间: 2019年6月30日 19:50
收件人: fuzimaoxinan/Tensorflow-Deep-Neural-Networks <Tensorflow-Deep-Neural-Networks@noreply.github.com>
抄送: Fuzz Pan <fuzz475366898@outlook.com>, Comment <comment@noreply.github.com>
主题: 回复:[fuzimaoxinan/Tensorflow-Deep-Neural-Networks] 请教用DBN做一维数据预测 (#17)
作者您好,我在用DBN预测BMS的demo预测自己的数据集时(shape=[4000,14]),修改batch_size=100,训练可以运行,但是到了微调的时候报错,Cannot feed value of shape (100,) for Tensor 'DBN/Placeholder_1:0', which has shape '(?, 4000)',我看了下不是很懂self.input_data = tf.placeholder(tf.float32, [None, self.struct[0]])这样设置输入占位符的原因,还有struct为啥那样设置也不太懂,能帮忙解释一下吗?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#17>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ADJLCT5OE4V4ENPNW44TGA3P5CMXBANCNFSM4H4J5V4Q>.
|
你好,请问你最后用DBN处理一维数据成功了嘛~ |
您好,首先感谢您提供的代码。我想要用DBN处理一个Excel表的数据,4000行14列,每行数据是一个单元,需要根据每行14个数据输出0或1,请问x_dim,y_dim和p_dim怎么设啊?因为这个跟mnist是不一样的,代码封装得厉害,也不太清楚一维数据这时候还需不需要p_dim,求告知。
The text was updated successfully, but these errors were encountered: