Skip to content

[Feature Request] GraphFeatureExtractor #1723

@EloyAnguiano

Description

@EloyAnguiano

🚀 Feature

Graph feature extractor for the new observation space that gymnassium provides.

Motivation

I've been using a Graph2Vec aproximation using GraphTransformers and CLS tokens on a non-publishable custom environment. As Gymnassium has implemented the Graph observation space, I would like to code a Feature Extractor for that kind of observation spaces.

Pitch

I want agents to use graph as observations

Alternatives

The alternative is to create a custom feature extractor that handles a dictionary space of the matrixes and attributes of graphs, but when the graph is very big this is not very optimal. The final goal would be to work with batches of graphs and sparse tensors.

Additional context

The only remaining piece is an official or publicly available gym environment to test this Feature Extractor. Does anyone know about this?

Checklist

  • I have checked that there is no similar issue in the repo
  • If I'm requesting a new feature, I have proposed alternatives

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions