Skip to content

Migrate env to racecar gym#44

Merged
waterkimchi merged 34 commits intomainfrom
migrate-env-to-racecar-gym
Mar 4, 2025
Merged

Migrate env to racecar gym#44
waterkimchi merged 34 commits intomainfrom
migrate-env-to-racecar-gym

Conversation

@rohanjaya
Copy link
Collaborator

Changes

We are working on getting the Dreamer v3 to work with the racecar_gym environment with dream.py as the entry point. Currently it reaches the evaluation phase (line 264 in dream.py), which calls simulate() from tools.py. An error occurs when calling logger.write(), at the end of the simulation, that must be debugged.

Refer to dream.py Main() and tools.py simulate() as the primary, chronological logic.

Motivation and Context

Ensure that we are able to begin training our agent using a reinforcement environment. Once completed, we will be able to port to the vehicle.

How Has This Been Tested?

This has primarily been tested by calling and debugging dream.py.

Screenshots (if appropriate):

image

Needed changed

  • Debug issue with the logger in tools.simulate.
  • See if the training step works
  • Find out how to use the logger to monitor training performance
  • Determine which observation keys need to saved to cache (save_episode function)

@waterkimchi waterkimchi self-requested a review March 4, 2025 02:37
Copy link
Collaborator

@waterkimchi waterkimchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

@waterkimchi waterkimchi merged commit 150e664 into main Mar 4, 2025
5 checks passed
@AlistairKeiller AlistairKeiller mentioned this pull request Mar 5, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants