a6652b0c1997bb47dd502bf674e0b3b9b2d09d23,examples/reinforcement_learning/tutorial_bipedalwalker_a3c_continuous_action.py,,,#,254

Before Change


            workers.append(Worker(i_name, GLOBAL_AC))

    COORD = tf.train.Coordinator()
    sess.run(tf.global_variables_initializer())

    // start TF threading
    worker_threads = []
    for worker in workers:

After Change


        s = env.reset()
        rall = 0
        while True:
            env.render()
            s = s.astype("float32") // double to float
            a = GLOBAL_AC.choose_action(s)
            s, r, d, _ = env.step(a)
            rall += r
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: a6652b0c1997bb47dd502bf674e0b3b9b2d09d23
Time: 2019-05-16
Author: 1402434478@qq.com
File Name: examples/reinforcement_learning/tutorial_bipedalwalker_a3c_continuous_action.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: 9352eece98d1205a01c2c7603538ea08a3d1f639
Time: 2017-04-02
Author: morvanzhou@gmail.com
File Name: Reinforcement_learning_TUT/10_A3C/A3C_discrete_action.py
Class Name: Worker
Method Name: work


Project Name: tensorlayer/tensorlayer
Commit Name: 6ca2a6359dc1374bfb211da8680f3d5f319cdaa5
Time: 2019-05-16
Author: 1402434478@qq.com
File Name: examples/reinforcement_learning/tutorial_bipedalwalker_a3c_continuous_action.py
Class Name:
Method Name: