-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maniskill RGB and Depth only observations. Added resnet and impala cu…
…be pickup configs.
- Loading branch information
Showing
7 changed files
with
318 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
rl_games/configs/maniskill/maniskill_pickcube_impala.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
params: | ||
seed: 42 | ||
|
||
# environment wrapper clipping | ||
env: | ||
# added to the wrapper | ||
clip_observations: 5.0 | ||
# can make custom wrapper? | ||
clip_actions: 1.0 | ||
algo: | ||
name: a2c_continuous | ||
|
||
model: | ||
name: continuous_a2c_logstd | ||
|
||
network: | ||
name: vision_actor_critic | ||
require_rewards: False | ||
require_last_actions: False | ||
separate: False | ||
value_shape: 1 | ||
space: | ||
continuous: | ||
mu_activation: None | ||
sigma_activation: None | ||
|
||
mu_init: | ||
name: default | ||
sigma_init: | ||
name: const_initializer | ||
val: 0 | ||
fixed_sigma: True | ||
cnn: | ||
permute_input: True | ||
conv_depths: [16, 32, 32] | ||
activation: relu | ||
initializer: | ||
name: default | ||
regularizer: | ||
name: None | ||
mlp: | ||
units: [512, 256] | ||
activation: elu | ||
regularizer: | ||
name: None | ||
initializer: | ||
name: default | ||
# rnn: | ||
# name: lstm | ||
# units: 512 | ||
# layers: 1 | ||
# before_mlp: True | ||
# concat_output: True | ||
|
||
config: | ||
name: PickCube_RGB_impala | ||
env_name: maniskill | ||
reward_shaper: | ||
scale_value: 1.0 | ||
device: cuda:0 | ||
device_name: cuda:0 | ||
multi_gpu: False | ||
ppo: True | ||
mixed_precision: True | ||
normalize_input: False | ||
normalize_value: True | ||
normalize_advantage: True | ||
num_actors: 256 | ||
reward_shaper: | ||
scale_value: 1.0 | ||
gamma: 0.99 | ||
tau : 0.95 | ||
learning_rate: 1e-4 | ||
lr_schedule: adaptive | ||
kl_threshold: 0.008 | ||
max_epochs: 10000 | ||
save_best_after: 25 | ||
save_frequency: 500 | ||
grad_norm: 1.0 | ||
entropy_coef: 0.0 | ||
truncate_grads: True | ||
e_clip: 0.2 | ||
horizon_length: 16 | ||
minibatch_size: 2048 | ||
mini_epochs: 2 | ||
critic_coef: 1 | ||
clip_value: True | ||
seq_length: 8 | ||
bounds_loss_coef: 0.0001 | ||
#weight_decay: 0.001 | ||
|
||
env_config: | ||
env_name: PickCube-v1 | ||
obs_mode: rgbd | ||
control_mode: pd_ee_delta_pose | ||
reward_mode: dense | ||
|
||
player: | ||
render: True | ||
deterministic: True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 101 additions & 0 deletions
101
rl_games/configs/maniskill/maniskill_pickcube_vision.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
params: | ||
seed: 42 | ||
|
||
# environment wrapper clipping | ||
env: | ||
# added to the wrapper | ||
clip_observations: 5.0 | ||
# can make custom wrapper? | ||
clip_actions: 1.0 | ||
algo: | ||
name: a2c_continuous | ||
|
||
model: | ||
name: continuous_a2c_logstd | ||
|
||
network: | ||
name: e2e_vision_actor_critic | ||
separate: False | ||
value_shape: 1 | ||
space: | ||
continuous: | ||
mu_activation: None | ||
sigma_activation: None | ||
|
||
mu_init: | ||
name: default | ||
sigma_init: | ||
name: const_initializer | ||
val: 0 | ||
fixed_sigma: True | ||
|
||
backbone: | ||
type: resnet18 # can be efficientnet_v2_s #convnext_tiny #vit_b_16 #resnet18 #resnet34 | ||
pretrained: True | ||
permute_input: True | ||
freeze: False | ||
preprocess_image: True | ||
args: | ||
zero_init_residual: True | ||
norm_layer: None | ||
mlp: | ||
units: [512, 256] | ||
activation: elu | ||
regularizer: | ||
name: None | ||
initializer: | ||
name: default | ||
# rnn: | ||
# name: lstm | ||
# units: 512 | ||
# layers: 1 | ||
# before_mlp: True | ||
# concat_output: True | ||
|
||
config: | ||
name: PickCube_RGB_resnet18 | ||
env_name: maniskill | ||
reward_shaper: | ||
scale_value: 1.0 | ||
device: cuda:0 | ||
device_name: cuda:0 | ||
multi_gpu: False | ||
ppo: True | ||
mixed_precision: True | ||
normalize_input: False | ||
normalize_value: True | ||
normalize_advantage: True | ||
num_actors: 128 | ||
reward_shaper: | ||
scale_value: 1.0 | ||
gamma: 0.99 | ||
tau : 0.95 | ||
learning_rate: 1e-4 | ||
lr_schedule: adaptive | ||
kl_threshold: 0.008 | ||
max_epochs: 20000 | ||
save_best_after: 25 | ||
save_frequency: 500 | ||
grad_norm: 1.0 | ||
entropy_coef: 0.0 | ||
truncate_grads: True | ||
e_clip: 0.2 | ||
horizon_length: 16 | ||
minibatch_size: 512 | ||
mini_epochs: 2 | ||
critic_coef: 1 | ||
clip_value: True | ||
seq_length: 8 | ||
bounds_loss_coef: 0.0001 | ||
#weight_decay: 0.001 | ||
|
||
env_config: | ||
env_name: PickCube-v1 | ||
obs_mode: rgbd | ||
control_mode: pd_ee_delta_pose | ||
reward_mode: dense | ||
|
||
player: | ||
render: True | ||
deterministic: True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.