lightning/pl_examples
Soham Roy 71b4611c64
Update default gym env version to CartPole-v1 (#7079)
Version v1 generates a better baseline with higher max_episodes and reward_threshold attained.

changed_params -->

register(
    id='CartPole-v1',
    entry_point='gym.envs.classic_control:CartPoleEnv',
    max_episode_steps=500,
    reward_threshold=475.0,
)
2021-04-18 12:28:04 +02:00
..
basic_examples Changed basic_examples to use `LightningCLI` (#6862) 2021-04-15 15:01:16 +00:00
domain_templates Update default gym env version to CartPole-v1 (#7079) 2021-04-18 12:28:04 +02:00
README.md docs: lightning-bolts (#6967) 2021-04-13 18:49:48 +00:00
__init__.py Reuse _TORCHVISION_AVAILABLE (#6976) 2021-04-13 18:33:32 +02:00
bug_report_model.py Fix DDP_SPAWN compatibility with bug_report_model.py (#6892) 2021-04-08 19:57:18 +05:30
run_ddp-examples.sh Changed basic_examples to use `LightningCLI` (#6862) 2021-04-15 15:01:16 +00:00
run_examples-args.sh remake nvidia docker (#6686) 2021-03-29 09:39:06 +01:00
test_examples.py Changed basic_examples to use `LightningCLI` (#6862) 2021-04-15 15:01:16 +00:00

README.md

Examples

Our most robust examples showing all sorts of implementations can be found in our sister library lightning-bolts.


Basic examples

In this folder we add 3 simple examples:


Domain examples

This folder contains older examples. You should instead use the examples in lightning-bolts for advanced use cases.