0
24
¥ 59.00购买
开通会员,立省5.90元, 立即开通
立即购买

你将收获

用更适合程序员的方式讲解TensorFlow的入门课程。在这里不仅讲解TensorFlow的基础知识,还会讲解一些基本的模型理论。让大家更快更好的完成入门课程

适用人群

所有人

课程介绍

深度学习框架TensorFlow视频培训课程概况:涉及TensorFlow的安装、基本语法、TensorFlow的使用、训练、回归模型、使用TensorFlow构建神经网络,线性回归、Mnist数据集、逻辑回归、卷积神经网络、循环神经网络、项目实战等。

课程讨论

报错信息为:Attempt to have a second RNNCell use the weights of a variable scope that already has weights: 'rnn/basic_lstm_cell'; and the cell was not constructed as BasicLSTMCell(..., reuse=True). To share the weights of an RNNCell, simply reuse it in your second calculation, or create a new one with the argument reuse=True. 在讲代码修改添加scope以后,问题可以解决,但scope每次只能又一次就要换值,如:outputs,states = rnn.static_rnn(lstm_cell,x,dtype=tf.float32,scope='b')

在跑RNN的代码的时候报错。报错信息为:Attempt to have a second RNNCell use the weights of a variable scope that already has weights: 'rnn/basic_lstm_cell'; and the cell was not constructed as BasicLSTMCell(..., reuse=True). To share the weights of an RNNCell, simply reuse it in your second calculation, or create a new one with the argument reuse=True. 在讲代码修改添加scope以后,问题可以解决,但scope每次只能又一次就要换值,如:outputs,states = rnn.static_rnn(lstm_cell,x,dtype=tf.float32,scope='b')

AttributeError Traceback (most recent call last) <ipython> in <module>() 42 # define the number of training iteration 43 optimizer = tf.train.GradientDescentOptimizer(0.5) ---&gt; 44 train = optimizer.minimize(loss) 45 46 #epoch = ... C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\training\optimizer.py in minimize(self, loss, global_step, var_list, gate_gradients, aggregation_method, colocate_gradients_with_ops, name, grad_loss)

老师,我用jupyter跑线性回归代码时出现如下错误,要怎么解决呀 AttributeError Traceback (most recent call last) <ipython> in <module>() 42 # define the number of training iteration 43 optimizer = tf.train.GradientDescentOptimizer(0.5) ---&gt; 44 train = optimizer.minimize(loss) 45 46 #epoch = ... C:\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\training\optimizer.py in minimize(self, loss, global_step, var_list, gate_gradients, aggregation_method, colocate_gra

最后一章只有两个视频啊,没有代码下载呀

各位同学们,课件在最后一章节上。

代码在哪里下载呢,找不到代码呀

看到最后一章了,代码在课件里有链接,自己也手动实现了,对于新手小白非常友好,推荐。

testData可以提供一下包吗? 代码跑不了啊

老师,请问testData怎么写?