Skip to content

Feature/update cloud example#345

Open
LorenzzoQM wants to merge 2 commits into
developfrom
feature/update_cloud_example
Open

Feature/update cloud example#345
LorenzzoQM wants to merge 2 commits into
developfrom
feature/update_cloud_example

Conversation

@LorenzzoQM

Copy link
Copy Markdown
Contributor

Description

Closes #342

Updates the cloud with reimaging example script to incorporate recent changes and new actor-critic network architecture.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How should this pull request be reviewed?

  • By commit
  • All changes at once

Future Work

Update with the related publication information once available.

Checklist

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation and release notes
  • My changes generate no new warnings
  • [] I have added tests that prove my fix is effective or that my feature works

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the “Cloud Environment with Re-imaging” example notebook to reflect the updated observation/action space and demonstrates new greedy heuristics plus a custom token/attention-based actor-critic architecture for RLlib PPO. Also documents the update in the v1.3.0 release notes.

Changes:

  • Refresh the environment configuration (observations/actions/lookahead) and reward logic in cloud_environment_with_reimaging.ipynb.
  • Add greedy heuristic baselines (re-imaging and single-picture) and a custom RLlib RLModule with attention-based actor/critic definitions.
  • Add a release note entry indicating the example has been updated.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
examples/cloud_environment_with_reimaging.ipynb Updates the cloud re-imaging tutorial with new observation/action definitions, heuristics, and custom actor-critic/RLModule code.
docs/source/release_notes.rst Adds a release note entry referencing the updated example notebook.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/cloud_environment_with_reimaging.ipynb Outdated
Comment thread examples/cloud_environment_with_reimaging.ipynb Outdated
Comment thread examples/cloud_environment_with_reimaging.ipynb
Comment thread examples/cloud_environment_with_reimaging.ipynb
Comment thread examples/cloud_environment_with_reimaging.ipynb Outdated
Comment thread examples/cloud_environment_with_reimaging.ipynb

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

Comment thread examples/cloud_environment_with_reimaging.ipynb Outdated
Comment thread examples/cloud_environment_with_reimaging.ipynb Outdated
Comment thread examples/cloud_environment_with_reimaging.ipynb
Comment thread examples/cloud_environment_with_reimaging.ipynb Outdated
@LorenzzoQM LorenzzoQM force-pushed the feature/update_cloud_example branch from ddd4323 to 0fcd701 Compare July 13, 2026 16:16
@LorenzzoQM LorenzzoQM force-pushed the feature/update_cloud_example branch from 0fcd701 to a41a458 Compare July 13, 2026 22:11
" dict(prop=\"v_BN_P\", norm=7616.5),\n",
" dict(prop=\"battery_charge_fraction\"),\n",
" dict(prop=\"solar_angle_norm\"),\n",
" dict(prop=\"omega_BN_B\", norm=0.03), # 0,1,2 - CHECKED\n",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Those "CHECKED" comments should be removed.

" log_level=\"INFO\",\n",
" log_level=\"WARNING\",\n",
" failure_penalty=0.0,\n",
" # disable_env_checker=True, # For debugging\n",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think the "disable_env_checker" doesn't exist anymore and we need to remove this.

"cell_type": "markdown",
"metadata": {},
"source": [
"## Training and custom actor-critic modules\n",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I feel like this code is too much for one example script. Have you thought about splitting the code into two? For cloud with re-imaging example. And training with new architecture script?

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.

Update cloud example with re-imaging

3 participants