コード例 #1
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     # Appends the search path for this plugin to the end of the search path
     # Note that foobar/conf is outside of the example plugin module.
     # There is no requirement for it to be packaged with the plugin, it just needs
     # be available in a package.
     # Remember to verify the config is packaged properly (build sdist and look inside,
     # and verify MANIFEST.in is correct).
     search_path.append(provider="example-searchpath-plugin",
                        path="pkg://arbitrary_package/conf")
コード例 #2
0
    def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
        # Appends the search path for this plugin to the end of the search path
        profile_path = os.path.join(get_root_dir(), "hydra_configs")
        profile_path_user = os.path.join(DEFAULT_CONFIG_FOLDER, "hydra_configs")

        search_path.append(provider="mephisto-profiles", path=f"file://{profile_path}")
        search_path.append(
            provider="mephisto-profiles-user", path=f"file://{profile_path_user}"
        )
コード例 #3
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     """implement the SearchPathPlugin interface"""
     search_path.append("project",
                        "pkg://tutorial_maze_env.part03_maze_env.conf")
     search_path.append("project",
                        "pkg://tutorial_maze_env.part04_events.conf")
     search_path.append("project",
                        "pkg://tutorial_maze_env.part06_struct_env.conf")
コード例 #4
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     # Appends the search path for this plugin to the end of the search path
     search_path.append("hydra-example-sweeper",
                        "pkg://hydra_plugins.example_sweeper_plugin.conf")
コード例 #5
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     search_path.append(
         "nevergrad", "pkg://hydra_plugins.hydra_nevergrad_sweeper.conf"
     )
コード例 #6
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     search_path.append(
         "hydra-submitit-launcher",
         "pkg://hydra_plugins.hydra_submitit_launcher.conf",
     )
コード例 #7
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     # Appends the search path for this plugin to the end of the search path
     search_path.append(
         "hydra-joblib-launcher",
         "pkg://hydra_plugins.hydra_joblib_launcher.conf",
     )
コード例 #8
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     """implement the SearchPathPlugin interface"""
     search_path.append("project", "pkg://maze.conf")
     search_path.append("project", "pkg://maze_cartpole.conf")
コード例 #9
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     assert isinstance(search_path, ConfigSearchPath)
     search_path.append("rating_core_lib", "pkg://rating_core_lib.config")
コード例 #10
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     search_path.append(
         provider="polymetis-plugin",
         path="pkg://polymetis/conf",
     )
コード例 #11
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     # Appends the search path for this plugin to the end of the search path
     search_path.append("hydra-colorlog",
                        "pkg://hydra_plugins.hydra_colorlog.conf")
コード例 #12
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     """Add custom config to search path (part of SearchPathPlugin interface)."""
     search_path.append("project", "pkg://your_project.conf")
コード例 #13
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     assert isinstance(search_path, ConfigSearchPath)
     search_path.append("bigpipe-response", "pkg://bigpipe_response.config")
コード例 #14
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     search_path.append(
         "hydra-gridengine-launcher",
         "pkg://hydra_plugins.hydra_gridengine_launcher.conf",
     )
コード例 #15
0
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     search_path.append(
         provider="classy_vision", path="pkg://classy_vision.hydra.conf"
     )
コード例 #16
0
ファイル: gale_path.py プロジェクト: benihime91/gale
 def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:
     search_path.append(provider="gale", path="pkg://gale.conf")
     search_path.prepend(provider="gale", path="pkg://references")
     search_path.prepend(provider="gale", path="pkg://conf")