Skip to content
\n
\n

Here is an example:

\n

\"image\"

\n\n

Refer to https://skrl.readthedocs.io/en/develop/api/utils/model_instantiators.html#inputs for more details about model definitions in skrl using Isaac Lab .yaml configs

\n

Also, see the skrl skrl_camera_ppo_cfg.yaml file for the Isaac-Cartpole-RGB-Camera-Direct-v0 example (CNN)

","upvoteCount":0,"url":"https://github.com/isaac-sim/IsaacLab/discussions/1451#discussioncomment-11353805"}}}
Discussion options

You must be logged in to vote

Well, I asked for an initial network structure to get an idea of a possible skrl configuration definition.
Again, if you are going to use skrl you need to use the version 1.4.0 (not released yet): develop branch.

./isaaclab.sh -p -m pip install git+https://github.com/Toni-SM/skrl.git@develop

Here is an example:

  • left network:

    network:
      - name: features_extractor
        input: permute(STATES["camera"], (0, 3, 1, 2))  # PyTorch NHWC -> NCHW
        layers:
          - conv2d: {out_channels: 32, kernel_size: 8, stride: 4, padding: 0}
          - conv2d: {out_channels: 64, kernel_size: 4, stride: 2, padding: 0}
          - conv2d: {out_channels: 64, kernel_size: 3, stride: 1, padding: 0}
          - flatten
        a…

Replies: 4 comments 19 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@JulienHansen
Comment options

@Toni-SM
Comment options

@JulienHansen
Comment options

@Toni-SM
Comment options

Answer selected by JulienHansen
@JulienHansen
Comment options

@nianba
Comment options

Comment options

You must be logged in to vote
11 replies
@Sanjay1911
Comment options

@Sanjay1911
Comment options

@bhenriquezsoto
Comment options

@Sanjay1911
Comment options

@bhenriquezsoto
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants
Converted from issue

This discussion was converted from issue #1445 on November 22, 2024 14:55.