Hatsu2004 commited on
Commit
4dd0baa
1 Parent(s): 0c30907

Initial commit

Browse files
README.md CHANGED
@@ -79,3 +79,8 @@ OrderedDict([('batch_size', 32),
79
  ('train_freq', 4),
80
  ('normalize', False)])
81
  ```
 
 
 
 
 
 
79
  ('train_freq', 4),
80
  ('normalize', False)])
81
  ```
82
+
83
+ # Environment Arguments
84
+ ```python
85
+ {'render_mode': 'rgb_array'}
86
+ ```
dqn-SpaceInvadersNoFrameskip-v4.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5e49e2498be8a2a066cb7021abcbd32d71eebb6f726c9b708acdddf37a6ede1
3
  size 27220166
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:897e8749e27c04e302e332bb04ba1f887a59245ede13e703320605ab9c896291
3
  size 27220166
dqn-SpaceInvadersNoFrameskip-v4/data CHANGED
@@ -4,9 +4,9 @@
4
  ":serialized:": "gAWVMAAAAAAAAACMHnN0YWJsZV9iYXNlbGluZXMzLmRxbi5wb2xpY2llc5SMCUNublBvbGljeZSTlC4=",
5
  "__module__": "stable_baselines3.dqn.policies",
6
  "__doc__": "\n Policy class for DQN when using images as input.\n\n :param observation_space: Observation space\n :param action_space: Action space\n :param lr_schedule: Learning rate schedule (could be constant)\n :param net_arch: The specification of the policy and value networks.\n :param activation_fn: Activation function\n :param features_extractor_class: Features extractor to use.\n :param normalize_images: Whether to normalize images or not,\n dividing by 255.0 (True by default)\n :param optimizer_class: The optimizer to use,\n ``th.optim.Adam`` by default\n :param optimizer_kwargs: Additional keyword arguments,\n excluding the learning rate, to pass to the optimizer\n ",
7
- "__init__": "<function CnnPolicy.__init__ at 0x7f735b1a36d0>",
8
  "__abstractmethods__": "frozenset()",
9
- "_abc_impl": "<_abc._abc_data object at 0x7f735b1c9b00>"
10
  },
11
  "verbose": 1,
12
  "policy_kwargs": {},
@@ -84,13 +84,13 @@
84
  "__module__": "stable_baselines3.common.buffers",
85
  "__annotations__": "{'observations': <class 'numpy.ndarray'>, 'next_observations': <class 'numpy.ndarray'>, 'actions': <class 'numpy.ndarray'>, 'rewards': <class 'numpy.ndarray'>, 'dones': <class 'numpy.ndarray'>, 'timeouts': <class 'numpy.ndarray'>}",
86
  "__doc__": "\n Replay buffer used in off-policy algorithms like SAC/TD3.\n\n :param buffer_size: Max number of element in the buffer\n :param observation_space: Observation space\n :param action_space: Action space\n :param device: PyTorch device\n :param n_envs: Number of parallel environments\n :param optimize_memory_usage: Enable a memory efficient variant\n of the replay buffer which reduces by almost a factor two the memory used,\n at a cost of more complexity.\n See https://github.com/DLR-RM/stable-baselines3/issues/37#issuecomment-637501195\n and https://github.com/DLR-RM/stable-baselines3/pull/28#issuecomment-637559274\n Cannot be used in combination with handle_timeout_termination.\n :param handle_timeout_termination: Handle timeout termination (due to timelimit)\n separately and treat the task as infinite horizon task.\n https://github.com/DLR-RM/stable-baselines3/issues/284\n ",
87
- "__init__": "<function ReplayBuffer.__init__ at 0x7f735b4dfc70>",
88
- "add": "<function ReplayBuffer.add at 0x7f735b4dfd00>",
89
- "sample": "<function ReplayBuffer.sample at 0x7f735b4dfd90>",
90
- "_get_samples": "<function ReplayBuffer._get_samples at 0x7f735b4dfe20>",
91
- "_maybe_cast_dtype": "<staticmethod(<function ReplayBuffer._maybe_cast_dtype at 0x7f735b4dfeb0>)>",
92
  "__abstractmethods__": "frozenset()",
93
- "_abc_impl": "<_abc._abc_data object at 0x7f735b45b700>"
94
  },
95
  "replay_buffer_kwargs": {},
96
  "train_freq": {
 
4
  ":serialized:": "gAWVMAAAAAAAAACMHnN0YWJsZV9iYXNlbGluZXMzLmRxbi5wb2xpY2llc5SMCUNublBvbGljeZSTlC4=",
5
  "__module__": "stable_baselines3.dqn.policies",
6
  "__doc__": "\n Policy class for DQN when using images as input.\n\n :param observation_space: Observation space\n :param action_space: Action space\n :param lr_schedule: Learning rate schedule (could be constant)\n :param net_arch: The specification of the policy and value networks.\n :param activation_fn: Activation function\n :param features_extractor_class: Features extractor to use.\n :param normalize_images: Whether to normalize images or not,\n dividing by 255.0 (True by default)\n :param optimizer_class: The optimizer to use,\n ``th.optim.Adam`` by default\n :param optimizer_kwargs: Additional keyword arguments,\n excluding the learning rate, to pass to the optimizer\n ",
7
+ "__init__": "<function CnnPolicy.__init__ at 0x7f2c164f76d0>",
8
  "__abstractmethods__": "frozenset()",
9
+ "_abc_impl": "<_abc._abc_data object at 0x7f2c165363c0>"
10
  },
11
  "verbose": 1,
12
  "policy_kwargs": {},
 
84
  "__module__": "stable_baselines3.common.buffers",
85
  "__annotations__": "{'observations': <class 'numpy.ndarray'>, 'next_observations': <class 'numpy.ndarray'>, 'actions': <class 'numpy.ndarray'>, 'rewards': <class 'numpy.ndarray'>, 'dones': <class 'numpy.ndarray'>, 'timeouts': <class 'numpy.ndarray'>}",
86
  "__doc__": "\n Replay buffer used in off-policy algorithms like SAC/TD3.\n\n :param buffer_size: Max number of element in the buffer\n :param observation_space: Observation space\n :param action_space: Action space\n :param device: PyTorch device\n :param n_envs: Number of parallel environments\n :param optimize_memory_usage: Enable a memory efficient variant\n of the replay buffer which reduces by almost a factor two the memory used,\n at a cost of more complexity.\n See https://github.com/DLR-RM/stable-baselines3/issues/37#issuecomment-637501195\n and https://github.com/DLR-RM/stable-baselines3/pull/28#issuecomment-637559274\n Cannot be used in combination with handle_timeout_termination.\n :param handle_timeout_termination: Handle timeout termination (due to timelimit)\n separately and treat the task as infinite horizon task.\n https://github.com/DLR-RM/stable-baselines3/issues/284\n ",
87
+ "__init__": "<function ReplayBuffer.__init__ at 0x7f2c16857c70>",
88
+ "add": "<function ReplayBuffer.add at 0x7f2c16857d00>",
89
+ "sample": "<function ReplayBuffer.sample at 0x7f2c16857d90>",
90
+ "_get_samples": "<function ReplayBuffer._get_samples at 0x7f2c16857e20>",
91
+ "_maybe_cast_dtype": "<staticmethod(<function ReplayBuffer._maybe_cast_dtype at 0x7f2c16857eb0>)>",
92
  "__abstractmethods__": "frozenset()",
93
+ "_abc_impl": "<_abc._abc_data object at 0x7f2c167cd700>"
94
  },
95
  "replay_buffer_kwargs": {},
96
  "train_freq": {
env_kwargs.yml CHANGED
@@ -1 +1 @@
1
- {}
 
1
+ render_mode: rgb_array
replay.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50a749ce5a592e3fc70a380461934ba21d70a74e6bd7529c23510320c4fc7553
3
+ size 256699
results.json CHANGED
@@ -1 +1 @@
1
- {"mean_reward": 595.0, "std_reward": 112.49444430726346, "is_deterministic": false, "n_eval_episodes": 10, "eval_datetime": "2024-02-22T21:30:44.210347"}
 
1
+ {"mean_reward": 595.0, "std_reward": 112.49444430726346, "is_deterministic": false, "n_eval_episodes": 10, "eval_datetime": "2024-02-22T22:18:52.461919"}