Code Monkey home page Code Monkey logo

dbn_tf's Issues

不知道为什么出现这个错误

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

ImportError: No module named 'opts'

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.

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.