Comments (2)
Hi, it serves for registering/discovering the learner task
as defined here:
TLeague/tleague/utils/tl_types.py
Line 19 in 101ff85
where all the learner tasks are maintained at League Manager.
To be detailed, when using Horovod for multi-GPU training, TLeague has M_L
learners which always synchronize the NN parameters, with each learner associated to only one GPU card. Being consistent to the Horovod/mpi convention, we let rank 0
learner sponsor the task creating (by calling the _request_task
):
TLeague/tleague/learners/pg_learner.py
Line 197 in 101ff85
while other rank i, i = 1, 2,...,M_L-1
learners query the existed learner task:
TLeague/tleague/learners/pg_learner.py
Line 215 in 101ff85
Note all the M_L
learners have an identical learner_id
(which is the handle for the learner task) as passed in by the --learner_id
arg:
TLeague/tleague/bin/run_pg_learner.py
Line 36 in 101ff85
and the example here:
https://github.com/tencent-ailab/tleague_projpage/blob/c8df899d713a77dcc72aa6e2b9d892bcebc96cf8/pommerman/pommerman.yml.jinja2#L385
from tleague.
thanks
from tleague.
Related Issues (18)
- ModuleNotFoundError: No module named 'tpolicies' HOT 4
- How long does it take to train? HOT 1
- make_sc2full_v8_interface got an unexpected keyword argument 'max_bo_count' HOT 2
- Actor 是本地在运行模型的吗? HOT 1
- Sampling from Experience Replay during Imitation Learning HOT 1
- No module named 'pysc2.lib.typeenums' HOT 2
- Why didn't you build the TLeague on top of ray and rllib? HOT 1
- No module named "tensorflow" HOT 2
- AssertionError with PBTPSROGameMgr HOT 1
- IndexError: tuple index out of range
- Fatal Python error: Aborted HOT 2
- How about the efficiency of TLeague HOT 4
- What does this code do in pg_learner.py HOT 2
- tpolicies找不到是什么原因? HOT 1
- Which matching strategy do you use the most? HOT 1
- what is pgn_file ? HOT 2
- Why don't you remove instance when you skip frame(step). HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tleague.