16a31e2c9fedc654e9117b42b8144adf1d0e4900,examples/reinforcement_learning/tutorial_A3C.py,,,#,259

Before Change


        plt.plot(GLOBAL_RUNNING_R)
        plt.xlabel("episode")
        plt.ylabel("global running reward")
        plt.savefig("a3c.png")
        plt.show()

        GLOBAL_AC.save_ckpt()

After Change


        GLOBAL_AC.save()
        
        plt.plot(GLOBAL_RUNNING_R)
        if not os.path.exists("image"):
            os.makedirs("image")
        plt.savefig(os.path.join("image", "a3c.png"))

    if args.test:
        // ============================= EVALUATION =============================
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: 16a31e2c9fedc654e9117b42b8144adf1d0e4900
Time: 2020-02-03
Author: 34995488+Tokarev-TT-33@users.noreply.github.com
File Name: examples/reinforcement_learning/tutorial_A3C.py
Class Name:
Method Name:


Project Name: danforthcenter/plantcv
Commit Name: 934b0e505169c80fb0e068aa45add2277ee2b721
Time: 2016-04-25
Author: noahfahlgren@gmail.com
File Name: lib/plantcv/analyze_NIR_intensity.py
Class Name:
Method Name: analyze_NIR_intensity


Project Name: theislab/scanpy
Commit Name: a6c89e9fab32e1e125ade7c2fc58e226ceb77ee5
Time: 2017-07-23
Author: f.alex.wolf@gmx.de
File Name: scanpy/plotting/tools.py
Class Name:
Method Name: sim