Tensorflow-Tutorial icon indicating copy to clipboard operation
Tensorflow-Tutorial copied to clipboard

Tensorflow tutorial from basic to hard, 莫烦Python 中文AI教学

Results 8 Tensorflow-Tutorial issues
Sort by recently updated
recently updated
newest added

why the title is always 0? for tf v 1.14, 404_AutoEncoder.py line 33 plt.title('%i' % np.argmax(mnist.train.labels[0])) np.argmax is redundant.

```python import tensorflow as tf import matplotlib.pyplot as plt import numpy as np tf.set_random_seed(1) np.random.seed(1) n_data = np.ones((100, 2)) x0 = np.random.normal(2*n_data, 1) # class0 x shape=(100, 2) ``` By...

The correct one: ``` with tf.variable_scope(scope) as scope: w = tf.get_variable("weights", [x.shape[1], out_dim], initializer=tf.random_normal_initializer()) b = tf.get_variable("biases", [out_dim], initializer=tf.constant_initializer(0.0)) ``` The following code will raise the error: `TypeError: Failed to...

Hi Morvan, I am trying to implement your Batch Normalization tutorial on your DDPG algorithme tutorial, but i have a hard time understanding the bits? one of my problems is:...

Dear, There is a question of the [script](https://github.com/MorvanZhou/Tensorflow-Tutorial/blob/master/tutorial-contents/301_simple_regression.py), Could it be a little hard,if the function is y=a*x^2 +b*x +c ? Any idea to change the code? Thx

InvalidArgumentError Traceback (most recent call last) D:\ProgramData\envs\tensorflow1\lib\site-packages\tensorflow\python\client\session.py in _do_call(self, fn, *args) 1291 try: -> 1292 return fn(*args) 1293 except errors.OpError as e: D:\ProgramData\envs\tensorflow1\lib\site-packages\tensorflow\python\client\session.py in _run_fn(feed_dict, fetch_list, target_list, options, run_metadata) 1276...

I get high accuracy score on this way : isCorrect = tf.equal(tf.argmax(predict_Y, 1), tf.argmax(Y_holder, 1)) accuracy = tf.reduce_mean(tf.cast(isCorrect, tf.float32)) your code: accuracy = tf.metrics.accuracy( # return (acc, update_op), and create...

This PR adds "Open in Codeanywhere" badge at the top of Readme file. Codeanywhere is a cloud-based Integrated Development Environment (IDE) that allows developers to code, learn, build, and collaborate...