94d20f71a3b9be4ce6764240fa34767114ad616b,examples/reinforcement_learning/tutorial_cartpole_ac.py,,,#,148

Before Change


// we need a good teacher, so the teacher should learn faster than the actor
critic = Critic(sess, n_features=N_F, lr=LR_C)

tl.layers.initialize_global_variables(sess)

if OUTPUT_GRAPH:
    tf.summary.FileWriter("logs/", sess.graph)

After Change


// we need a good teacher, so the teacher should learn faster than the actor
critic = Critic(sess, n_features=N_F, lr=LR_C)

sess.run(tf.global_variables_initializer())

if OUTPUT_GRAPH:
    tf.summary.FileWriter("logs/", sess.graph)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: 94d20f71a3b9be4ce6764240fa34767114ad616b
Time: 2019-01-16
Author: dhsig552@163.com
File Name: examples/reinforcement_learning/tutorial_cartpole_ac.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: 94d20f71a3b9be4ce6764240fa34767114ad616b
Time: 2019-01-16
Author: dhsig552@163.com
File Name: examples/pretrained_cnn/tutorial_vgg19.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: 94d20f71a3b9be4ce6764240fa34767114ad616b
Time: 2019-01-16
Author: dhsig552@163.com
File Name: examples/reinforcement_learning/tutorial_bipedalwalker_a3c_continuous_action.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: 94d20f71a3b9be4ce6764240fa34767114ad616b
Time: 2019-01-16
Author: dhsig552@163.com
File Name: examples/pretrained_cnn/tutorial_vgg16.py
Class Name:
Method Name: