e08f71bf13a17b383cace9fda9b8a7d4ccb2b173,tensorforce/examples/openai_gym2.py,,main,#,37
Before Change
environment.gym.monitor.start(args.monitor)
environment.gym.monitor.configure(video_callable=lambda count: False) // count % 500 == 0)
runner = AsyncRunner(vars(args), agent=agent, environment=environment, preprocessor=stack)
runner.run(episode_finished=episode_finished)
if args.monitor:
After Change
environments = [OpenAIGymEnvironment(args.gym_id), OpenAIGymEnvironment(args.gym_id), OpenAIGymEnvironment(args.gym_id)]
config = Config({
"actions": environments[0].actions,
"action_shape": environments[0].action_shape,
"state_shape": environments[0].state_shape
})
if args.agent_config:
config.read_json(args.agent_config)
if args.network_config:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: reinforceio/tensorforce
Commit Name: e08f71bf13a17b383cace9fda9b8a7d4ccb2b173
Time: 2016-12-30
Author: aok25@cl.cam.ac.uk
File Name: tensorforce/examples/openai_gym2.py
Class Name:
Method Name: main
Project Name: OpenMined/Grid
Commit Name: 7989ac16f31533d8e16ac954f253b41c8c9ec95e
Time: 2021-04-01
Author: amrmkayid@gmail.com
File Name: apps/domain/src/main/core/infrastructure/providers/gcp/gcp.py
Class Name: GCP
Method Name: build_instances
Project Name: hanxiao/bert-as-service
Commit Name: 7dcdaf7091798a01341d7b94de0880f8e535608e
Time: 2018-11-26
Author: hanhxiao@tencent.com
File Name: service/server.py
Class Name: BertServer
Method Name: __init__