-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into BioGeek-main
- Loading branch information
Showing
143 changed files
with
4,066 additions
and
1,564 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
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ version: 2 | |
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.9" | ||
python: "3.10" | ||
apt_packages: | ||
- swig | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Descriptor-Conditioned Reinforcement Learning MAP-Elites (DCRL-ME) | ||
|
||
To create an instance of DCRL-ME, one need to use an instance of [MAP-Elites](map_elites.md) with the `DCRLMEEmitter`, detailed below. | ||
|
||
::: qdax.core.emitters.dcrl_me_emitter.DCRLMEEmitter |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ git clone [email protected]:adaptive-intelligent-robotics/QDax.git | |
|
||
2. Activate the environment and manually install the package qdax | ||
```zsh | ||
conda activate qdaxpy39 | ||
conda activate qdaxpy310 | ||
pip install -e . | ||
``` | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,25 @@ | |
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"#@title Installs and Imports\n", | ||
"from IPython.display import clear_output\n", | ||
"\n", | ||
"try:\n", | ||
" import qdax\n", | ||
"except:\n", | ||
" print(\"QDax not found. Installing...\")\n", | ||
" !pip install qdax[cuda12]\n", | ||
" import qdax\n", | ||
"\n", | ||
"clear_output()" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"\n", | ||
"!pip install ipympl |tail -n 1\n", | ||
"# %matplotlib widget\n", | ||
"# from google.colab import output\n", | ||
|
@@ -46,37 +64,6 @@ | |
"import jax\n", | ||
"import jax.numpy as jnp\n", | ||
"\n", | ||
"try:\n", | ||
" import brax\n", | ||
"except:\n", | ||
" !pip install git+https://github.com/google/[email protected] |tail -n 1\n", | ||
" import brax\n", | ||
"\n", | ||
"try:\n", | ||
" import flax\n", | ||
"except:\n", | ||
" !pip install --no-deps git+https://github.com/google/[email protected] |tail -n 1\n", | ||
" import flax\n", | ||
"\n", | ||
"try:\n", | ||
" import chex\n", | ||
"except:\n", | ||
" !pip install --no-deps git+https://github.com/deepmind/[email protected] |tail -n 1\n", | ||
" import chex\n", | ||
"\n", | ||
"try:\n", | ||
" import jumanji\n", | ||
"except:\n", | ||
" !pip install \"jumanji==0.3.1\"\n", | ||
" import jumanji\n", | ||
"\n", | ||
"try:\n", | ||
" import qdax\n", | ||
"except:\n", | ||
" !pip install --no-deps git+https://github.com/adaptive-intelligent-robotics/QDax@main |tail -n 1\n", | ||
" import qdax\n", | ||
"\n", | ||
"\n", | ||
"from qdax.core.aurora import AURORA\n", | ||
"from qdax.core.containers.unstructured_repertoire import UnstructuredRepertoire\n", | ||
"from qdax import environments\n", | ||
|
@@ -93,7 +80,7 @@ | |
"from qdax.core.emitters.mutation_operators import isoline_variation\n", | ||
"from qdax.core.emitters.standard_emitters import MixingEmitter\n", | ||
"\n", | ||
"from qdax.types import Observation\n", | ||
"from qdax.custom_types import Observation\n", | ||
"from qdax.utils import train_seq2seq\n", | ||
"\n", | ||
"\n", | ||
|
@@ -512,11 +499,8 @@ | |
} | ||
], | ||
"metadata": { | ||
"interpreter": { | ||
"hash": "9ae46cf6a59eb5e192bc4f27fbb5c33d8a30eb9acb43edbb510eeaf7c819ab64" | ||
}, | ||
"kernelspec": { | ||
"display_name": "Python 3 (ipykernel)", | ||
"display_name": "venv", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
|
@@ -530,7 +514,7 @@ | |
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.8.13" | ||
"version": "3.10.12" | ||
} | ||
}, | ||
"nbformat": 4, | ||
|
Oops, something went wrong.