-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: docs * feat: README.md * feat: TD3 baseline * feat: PPO baseline * feat: new env: ant with ball in maze * chore: remove notebooks and clean_rl * fix: typos * refactor: docstrings and metrics_recorder refactor * Update docs * chore: update contrastive loss functions with references * chore: Add new methods and environments documentation * chore: update docs * chore: update README.md * some minor changes/repairs in links (#17) * Merge remote-tracking branch 'public/anonymize-v2' into dev * Merge anonymize-v2 and master * chore: update README.md * chore: add LICENSE * chore: update README.md * refactor: refactor losses.py and update README.md based on Colin's pr… * feat: (WIP) wrapper - working with ant * refactor: remove seed/traj id logic from envs (not manipulation) * refactor: remove seed/traj id logic from envs (manipulation) * chore: small ant_push env creation fix * refactor: rename seed to traj_id - so trajectories are distinguishabl… * Add env wrapper with traj id for CRL * UNTESTED (extremely likely to be broken, but fixable): remove most br… * Fix many refactoring bugs but not done yet + stylistic changes + rend… * Fix rendering + verified working on ant * Merge with dev branch * Clean up comments * Move arguments to MetricsRecorder and add visualization frequency flag * Update docstrings * Merge pull request #26 from MichalBortkiewicz/feat/disentangle_brax_t… * Environment interaction snippet in README * Update README.md * Update README.md * Refactor utils.create_env * Typos * Merge branch 'dev' into env_snippet * chore: environment interaction snippet * fix: add sanity checks for training configuration * chore: remove cleanJaxGCRL * Modify env XMLs to make floor plane larger. This is helpful for large… * More informative error message for num_envs and batch_size * Add Dockerfile for containerization * chore: modify env XMLs to make floor plane larger. This is helpful fo… * Update readme for new file structure * feat: add GitHub Actions workflow for CI deployment * Merge remote-tracking branch 'public/master' into dev * Merge remote-tracking branch 'origin/dev' into dev * Merge branch 'dev' of github.com:MichalBortkiewicz/JaxGCRL into dev * Merge remote-tracking branch 'public/master' into dev * Merge remote-tracking branch 'origin/master' into dev * fix: ppo baseline * fix: sac baseline * fix: td3 baseline
- Loading branch information
1 parent
46e2452
commit b54cd4c
Showing
8 changed files
with
88 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Use Miniconda as the base image | ||
FROM continuumio/miniconda3:latest | ||
|
||
# Set the working directory | ||
WORKDIR /app | ||
|
||
# Install dependencies for headless rendering (EGL and related libraries) | ||
RUN apt-get update && apt-get install -y \ | ||
libegl1-mesa \ | ||
libgles2-mesa \ | ||
mesa-utils \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Copy the environment file | ||
COPY environment.yml . | ||
|
||
# Create the Conda environment | ||
RUN conda env create -f environment.yml | ||
|
||
# Activate the environment by default and ensure PATH includes the environment | ||
RUN echo "conda activate my_env" >> ~/.bashrc | ||
ENV PATH /opt/conda/envs/my_env/bin:$PATH | ||
|
||
# Copy the rest of the application | ||
COPY . . | ||
|
||
# Make the training script executable | ||
RUN chmod +x ./scripts/train.sh | ||
|
||
# Run the training script to verify installation (optional; can be commented out after testing) | ||
# RUN ./scripts/train.sh | ||
|
||
# Expose a port if needed (adjust based on the application) | ||
EXPOSE 8000 | ||
|
||
# Define the default command (adjust based on the application) | ||
CMD ["./scripts/train.sh"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters