lpty / tensorflow_tutorial Goto Github PK
View Code? Open in Web Editor NEWtensorflow的一些实例
tensorflow的一些实例
ModuleNotFoundError: No module named 'poetryRnn'
为什么是变量acc_rate>0.99而不是acc>0.99,acc_rate初始化为0.95,后面每次训练acc大于设定acc_rate的时候acc_rate+0.01,为什么要这么做呢?
我确认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.
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()
运行时报错:AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'rnn_cell'
我的版本是 1.1.0
你好,请问这个是什么原因造成的呢?谢谢!!
断点调试这里时:encode_x = [[model.story.word_to_int[c] for c in '掠夺']]
报错:KeyError: '\xe5'
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.