caicloud / tensorflow-tutorial

Example TensorFlow codes and Caicloud TensorFlow as a Service dev environment.
2.93k stars 2.08k forks source link

第六章6.5.2迁移学习代码的问题 #121

Closed Lam1360 closed 6 years ago

Lam1360 commented 6 years ago

代码的注释里面说“只会更新指定的部分参数”,但是按照这个代码应该是更新了全部的参数的, 如果要更新指定的部分参数,则 train_step = tf.train.RMSPropOptimizer(LEARNING_RATE).minimize(total_loss) 是不是应该换成 train_step = tf.train.RMSPropOptimizer(LEARNING_RATE).minimize(total_loss, var_list=trainable_variables)???

caicloud-bot commented 6 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

/lifecycle stale