Skip to content

Commit

Permalink
import qdax.custom_types instead of qdax.types in notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Lookatator committed Sep 5, 2024
1 parent d7fd89e commit f0b2d64
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/aurora.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,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",
Expand Down
2 changes: 1 addition & 1 deletion examples/jumanji_snake.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"from qdax.core.emitters.mutation_operators import isoline_variation\n",
"\n",
"from qdax.core.emitters.standard_emitters import MixingEmitter\n",
"from qdax.types import ExtraScores, Fitness, RNGKey, Descriptor\n",
"from qdax.custom_types import ExtraScores, Fitness, RNGKey, Descriptor\n",
"from qdax.utils.metrics import default_ga_metrics, default_qd_metrics"
]
},
Expand Down
2 changes: 1 addition & 1 deletion examples/me_sac_pbt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"from qdax.core.distributed_map_elites import DistributedMAPElites\n",
"from qdax.core.emitters.pbt_me_emitter import PBTEmitter, PBTEmitterConfig\n",
"from qdax.core.emitters.pbt_variation_operators import sac_pbt_variation_fn\n",
"from qdax.types import Descriptor, ExtraScores, Fitness, Genotype, RNGKey\n",
"from qdax.custom_types import Descriptor, ExtraScores, Fitness, Genotype, RNGKey\n",
"from qdax.utils.metrics import CSVLogger, default_qd_metrics\n",
"from qdax.utils.plotting import plot_map_elites_results"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/me_td3_pbt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"from qdax.core.emitters.pbt_me_emitter import PBTEmitter, PBTEmitterConfig\n",
"from qdax.core.emitters.pbt_variation_operators import td3_pbt_variation_fn\n",
"from qdax.core.distributed_map_elites import DistributedMAPElites\n",
"from qdax.types import RNGKey\n",
"from qdax.custom_types import RNGKey\n",
"from qdax.utils.metrics import default_qd_metrics\n",
"from qdax.utils.plotting import plot_2d_map_elites_repertoire, plot_map_elites_results"
]
Expand Down
2 changes: 1 addition & 1 deletion examples/mome.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"\n",
"import matplotlib.pyplot as plt\n",
"\n",
"from qdax.types import Fitness, Descriptor, RNGKey, ExtraScores"
"from qdax.custom_types import Fitness, Descriptor, RNGKey, ExtraScores"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/nsga2_spea2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"from qdax.utils.plotting import plot_global_pareto_front\n",
"from qdax.utils.metrics import default_ga_metrics\n",
"\n",
"from qdax.types import Genotype, Fitness, Descriptor"
"from qdax.custom_types import Genotype, Fitness, Descriptor"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/pga_aurora.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"from qdax.core.emitters.mutation_operators import isoline_variation\n",
"from qdax.core.emitters.pga_me_emitter import PGAMEConfig, PGAMEEmitter\n",
"\n",
"from qdax.types import Observation\n",
"from qdax.custom_types import Observation\n",
"from qdax.utils import train_seq2seq\n",
"\n",
"\n",
Expand Down

0 comments on commit f0b2d64

Please sign in to comment.