Skip to content

ymg1114/pytorch-ppo-seed-rl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytorch-ppo-seed-rl

Brief Overview

This implementation uses gRPC to support the SEED RL architecture.

Generate gRPC Stub Code

To generate the gRPC stub code from the .proto file, you can use the following command:

python -m grpc_tools.protoc -I=buffers --python_out=buffers --grpc_python_out=buffers buffers/grpc_service.proto.

And also need to modify a portion of the code in the buffer/grpc_service_pb2_grpc.py script as shown below.

image

Caution!

High CPU usage limits the scalability of worker nodes.

Learning Environment is limited to the discrete action space of CartPole-v1.

How to run

python main.py run_server

python main.py run_client

Releases

No releases published

Packages

No packages published

Languages