ds4dm / ignite-rl Goto Github PK
View Code? Open in Web Editor NEWReinforcement learning abstractions.
License: MIT License
Reinforcement learning abstractions.
License: MIT License
Override Engine.run in explorer to support:
Similarly to the fact that PPO trainer can be redefined by using
@agent.on(Events.STARTED)
def _(engine):
engine.state.trainer = ...
Extend this to the Dataloader
.
However, it need to be decided / if it is safe to have a fixed Dataloader
over a varying Dataset
or to store a Dataloder
factory.
ignite-rl/irl/algo/trainers.py
Line 73 in 8b42c00
ignite-rl/irl/algo/policy_methods.py
Line 314 in d68fe6c
default_collate
doing this already?).Data.to
to take non_blocking
argumentexploration/exploration_loss_coeff
...
episode_timestep
is not reset to zero in explorer.
Change optional transition member deduction to:
explorer.register_transition_members("log_probs")
...
def select_action(engine, t):
...
engine.store_transition_members(log_probs=...)
Redefine event names:
EPOCH -> EPISODE
ITERATION -> STEP
teminate_epoch
engine.state.epochs
For instance for graph, get_batch_class would need to add another attr for remembering batch index.
ignite-rl/irl/algo/policy_methods.py
Line 271 in 8b42c00
Not sure whether to be in eval mode to select action... What if user override behavior?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.