16a31e2c9fedc654e9117b42b8144adf1d0e4900,examples/reinforcement_learning/tutorial_A3C.py,,,#,259
Before Change
import matplotlib.pyplot as plt
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
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 =============================
GLOBAL_AC.load()
In pattern: SUPERPATTERN
Frequency: 4
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: matplotlib/matplotlib
Commit Name: b2a2dccef7052753b8e2c1d99cf0183a03494c17
Time: 2017-07-16
Author: dmgt@users.noreply.github.com
File Name: examples/pylab_examples/simple_plot.py
Class Name:
Method Name:
Project Name: richzhang/colorization-pytorch
Commit Name: 1cc19c989ca609584119a1973845e72598d754d4
Time: 2018-09-03
Author: rzhang88@gmail.com
File Name: test_sweep.py
Class Name:
Method Name:
Project Name: nipy/dipy
Commit Name: 26359ea24696a73166f780643fb0f3a3d422a9c6
Time: 2019-04-14
Author: arokem@gmail.com
File Name: doc/examples/reconst_ivim.py
Class Name:
Method Name: