Giter Site home page Giter Site logo

learningdl's People

Contributors

huxiaoman7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learningdl's Issues

chapter6 cifar10-cnn

I got this problem when I ran cifar10-cnn.ipynb:
in ()
5 import tarfile
6 import tensorflow as tf
----> 7 import CIFAR10.CIFAR_input as input
8 FLAGS=tf.app.flags.FLAGS
9

ModuleNotFoundError: No module named 'CIFAR10'

in ()
4 import time
5 import tensorflow as tf
----> 6 from CIFAR10 import model_build
7 FLAGS=tf.app.flags.FLAGS
8

ModuleNotFoundError: No module named 'CIFAR10'

name 'c' is not defined

代码:

打印出每次迭代的日志

    if (epoch + 1) % display_step == 0:
        c = sess.run(cost, feed_dict={X: train_X, Y: train_Y})
    print("Epoch:", '%04d' % (epoch + 1), "cost=", "{:.9f}".format(c),
          "W=", sess.run(w), "b=", sess.run(b))

报错:
Traceback (most recent call last):
File "linear_线性回归.py", line 53, in
print("Epoch:", '%04d' % (epoch + 1), "cost=", "{:.9f}".format(c),
NameError: name 'c' is not defined
老师您好,我在天善学院上报了您的课,刚刚开始进行学习,在尝试您第一个线性方程时遇到了这个问题。希望得到您的解答~

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.