Code Monkey home page Code Monkey logo

tensorflow_tutorial's Issues

验证码识别的准确率变量

为什么是变量acc_rate>0.99而不是acc>0.99,acc_rate初始化为0.95,后面每次训练acc大于设定acc_rate的时候acc_rate+0.01,为什么要这么做呢?

ModuleNotFoundError: No module named 'avatarDcgan'

直接克隆的你的tensorflow_tutorial整个项目,python3.8 确认各类运行库已安装好,启动avatar_train.py,直接给个提示
Traceback (most recent call last):
File "G:\Doc\Programing\tensorflow_tutorial-master\avatarDcgan\avatar_train.py", line 1, in
from avatarDcgan.avatar_model import AvatarModel

我确认avatar_model.py是在avatarDcgan文件夹下,且avatar_model.py内有class AvatarModel:
事实上我根本没有改动你的文件的任何东西

运行识别验证码时报错

$ py captcha_cnn.py 
Traceback (most recent call last):
  File "captcha_cnn.py", line 32, in <module>
    pre_text = captcha2text([image])
  File "captcha_cnn.py", line 21, in captcha2text
    saver.restore(sess, tf.train.latest_checkpoint('.'))
  File "/Users/fizz/venv/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1751, in restore
    raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.

gen()运行出错

ValueError: Variable generator/dense/kernel already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:

File "", line 38, in generator_graph
layer = tf.layers.dense(fake_imgs, units_size)
File "", line 102, in train
gen_logits, gen_outputs = self.generator_graph(fake_imgs, self.units_size, self.img_size)
File "", line 176, in
mnist.train()

skipThoughtVec-->gen.py

你好,请问这个是什么原因造成的呢?谢谢!!
断点调试这里时:encode_x = [[model.story.word_to_int[c] for c in '掠夺']]

报错:KeyError: '\xe5'

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.