Edouard Leurent

Results 269 comments of Edouard Leurent

Note that with configure, it's only after applying reset() that the observation space is changed, as expected: ![image](https://github.com/user-attachments/assets/3229bf6b-8dde-4ecd-8cc8-ef6cdc7a8286)

So without changing the training code, I just added this missing reset in the features_extration.create_environment as follows: ![image](https://github.com/user-attachments/assets/9c082710-7494-4558-8a3d-a3be19f1d424) and things seem fine now: ![image](https://github.com/user-attachments/assets/c09c0608-aa2f-45ee-babf-59ce582108b2)

> I have done what you first suggest, do `env.reset()` before training (it doesn't even let you train without doing it). The problem is afterwards when I try to run...

I don't think there should be a difference, but I did my tests with the version at head, which you can try by uninstalling your current version and installing the...

Can you run this colab (copy of your notebook)? https://colab.research.google.com/drive/1y_xoKFiO_kRiF-_nkRAlN2wOmiuDEgt-?usp=sharing Everything seems to run fine...

I imported your featyres_extraction.ipynb into colab and it also works, can you try it? https://colab.research.google.com/drive/1KZR7wiX_jf56p0hoE863j_aFD5hKl-Vs?usp=sharing You have to upload the required files: ![image](https://github.com/user-attachments/assets/432e7b9d-2b95-4b7a-af91-684212f3e1f1) You should get something like this: ![image](https://github.com/user-attachments/assets/eda1fd68-481e-4f7f-8a49-34ce23845bd8)

Hi, sorry about that. This issue was fixed [~1 year ago](https://github.com/Farama-Foundation/HighwayEnv/commit/116c23feb686eea00e74a4756389d70352443ad3) on dev, but there hasn't been any stable release since. I'll make a new release with the patch, in...

You can replace the call to `configure` by `env = gym.make('highway-v0', config=config)`. I'll update the docs accordingly.

Cc @pseudo-rnd-thoughts any recommendation?