Skip to content

Initial lab-internal Nocturne version#1

Merged
daphne-cornelisse merged 43 commits intodevelopfrom
feature/nocturne_fork_cleanup
Oct 6, 2023
Merged

Initial lab-internal Nocturne version#1
daphne-cornelisse merged 43 commits intodevelopfrom
feature/nocturne_fork_cleanup

Conversation

@daphne-cornelisse
Copy link
Copy Markdown
Collaborator

@daphne-cornelisse daphne-cornelisse commented Oct 2, 2023

Description

This pull request merges the nocturne_fork_cleanup branch into develop. The nocturne_fork_cleanup branch contains several changes that clean up the codebase and remove unused code. The resulting repository is the version that should be used internally in the EMERGE lab for further development of Nocturne.

Changes Made

The following changes were made in the nocturne_fork_cleanup branch:

  • Clean-up:
    • Removed algos directory
    • Removed examples directory
    • Removed configurations related to algos and examples
    • Removed directory for cluster scripts
  • Dependencies and poetry:
    • Added poetry for and to simplify package management
    • Removed unused dependencies (after removal of algos and examples)
    • Split and updated dependencies for usage and development
  • Code quality and pre-commit:
  • Documentation (PR ready for review: Feature: Added Sphinx documentation and GH workflow for docs hosting using Github Pages #3):
    • Updated documentation for lab version of package
    • Added hosted documentation
  • Publish package -> Moved forward
    • Publish package to PyPI
  • Examples and tutorials
    • Minimal base environment
    • Minimal PPO example
  • (Optional) Support for multiple Python versions -> Moved forward
  • (Optional) Update legacy Github workflows -> Moved forward
  • (Optional) Fix notebook editable package bug -> Moved forward

Related Issues

This pull request resolves the no outstanding issues.

Review checklist

TBA

@daphne-cornelisse daphne-cornelisse self-assigned this Oct 2, 2023
@daphne-cornelisse daphne-cornelisse force-pushed the feature/nocturne_fork_cleanup branch 3 times, most recently from b3545dc to a49472f Compare October 2, 2023 22:21
@daphne-cornelisse daphne-cornelisse force-pushed the feature/nocturne_fork_cleanup branch from a49472f to 4f21f93 Compare October 2, 2023 22:29
Daphne and others added 17 commits October 4, 2023 15:14
…/nocturne into feature/nocturne_fork_cleanup
    1. Added pydocstyle back into pre-commit
    2. Moved WandB and tensorboard to research dependencies in pyproject.toml
    3. Updated data paths for notebooks: (1) all data paths are now relative to the base of the project and (2) changing working directory in notebook to go to the base of the project
    4. Updated number of tries for finding a controllable vehicle in base_env.py
Comment thread README.md
Comment thread build.py
Comment thread build.py
Comment thread build.py
logging.basicConfig(level=logging.INFO)

class CMakeExtension(Extension):
class CMakeExtension(Pybind11Extension):
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice

"<figure>\n",
"<center>\n",
"<img src='https://drive.google.com/uc?id=1fG43NvPCzaimmW99asRdB73qY-F4u-q0' width='700'/>\n",
"<figcaption>To investigate coordination under partial observability, agents in Nocturne can only see an obstructed view of their environment. In this simplified traffic scene, we construct the state for the red ego driver. Note that Nocturne assumes that stop signs can be viewed, even if they are behind another driver. </figcaption></center>\n",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

There's a figure here that doesn't load for me

@daphne-cornelisse daphne-cornelisse marked this pull request as ready for review October 6, 2023 15:09
@daphne-cornelisse daphne-cornelisse merged commit c6593e4 into develop Oct 6, 2023
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.

2 participants