Skip to content
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模型实现对Iris数据集进行分类,请问数据如何导入呢,实现图片分类和数据分类时的dbn_struct是不是一样呢?彻底的初学者,劳烦帮忙解答一下~ #6

Open
liukang254 opened this issue Apr 30, 2018 · 7 comments

Comments

@liukang254
Copy link

No description provided.

@zhuofupan
Copy link
Owner

图片做的时候是把它弄成一排的,就是一张图片就是一个m维的向量,所以是没区别的。

@liukang254
Copy link
Author

谢谢你~!

@liukang254
Copy link
Author

Initializer.sess_init_all(sess) 初始化参数这一行:我报错:SyntaxError: invalid syntax. 请问这是什么原因呢?我的python是2.7.6 tf版本是1.3.0

@zhuofupan
Copy link
Owner

等价于 sess.run(tf.global_variables_initializer()) 这句 ,不行就替换一下吧

@liukang254
Copy link
Author

还是不可以。我用initialize_all_variables和你说的那个,都不行,还是相同的错误,那个小箭头指在小数点前面的字母s上。不知道什么原因。。

@zhuofupan
Copy link
Owner

找下前面的代码有没有误 最好装python3

@aszhanghuali
Copy link

@liukang254
您好!我想问一下,你用代码dbn.py、classification_USC.py跑图像分类跑成功的吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants