myme5261314 / dbn_tf Goto Github PK
View Code? Open in Web Editor NEWRBM/DBN implementation with tensorflow attempt project
RBM/DBN implementation with tensorflow attempt project
Traceback (most recent call last):
File "/home/xiong/Desktop/dbn_tf/test.py", line 21, in
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)
File "/home/xiong/Desktop/dbn_tf/input_data.py", line 154, in read_data_sets
train_images = extract_images(local_file)
File "/home/xiong/Desktop/dbn_tf/input_data.py", line 43, in extract_images
buf = bytestream.read(rows * cols * num_images)
File "/usr/lib/python2.7/gzip.py", line 275, in read
chunk = self.extrabuf[offset: offset + size]
TypeError: only integer scalar arrays can be converted to a scalar index
Hi
I'm a beginner in ML and I couldn't understand the function in rbm_MNIST_test.py named sample_prob(probs).
Can you explain briefly the effect of this method?
Many thanks!
Windows 8.1,python3.5
What I tried:
C:\Windows\system32>pip install opts
errors:
` File "", line 1, in
File "C:\Users\RoFun\AppData\Local\Temp\pip-build-s1ftehgu\opts\setup.py",
line 3, in
from distribute_setup import use_setuptools
ImportError: No module named 'distribute_setup'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\RoFun\Ap
pData\Local\Temp\pip-build-s1ftehgu\opts
`
I'm confused now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.