Git Product home page Git Product logo

Comments (4)

zhuofupan avatar zhuofupan commented on May 30, 2024

应该可以支持一维,我写了支持一维的。你试试。

from tensorflow-deep-neural-networks.

Coder-XWJ avatar Coder-XWJ commented on May 30, 2024

作者您好,我在用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为啥那样设置也不太懂,能帮忙解释一下吗?

from tensorflow-deep-neural-networks.

zhuofupan avatar zhuofupan commented on May 30, 2024

from tensorflow-deep-neural-networks.

LovelearnBO avatar LovelearnBO commented on May 30, 2024

您好,首先感谢您提供的代码。我想要用DBN处理一个Excel表的数据,4000行14列,每行数据是一个单元,需要根据每行14个数据输出0或1,请问x_dim,y_dim和p_dim怎么设啊?因为这个跟mnist是不一样的,代码封装得厉害,也不太清楚一维数据这时候还需不需要p_dim,求告知。

你好,请问你最后用DBN处理一维数据成功了嘛~

from tensorflow-deep-neural-networks.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.