Commit 27f2b21d authored by Hang Zhang's avatar Hang Zhang Committed by Facebook GitHub Bot
Browse files

fbnas d2go initial integration for sampling-based search

Summary: Add FBNAS toolkit for HPO in D2 (https://github.com/facebookresearch/d2go/commit/adf223bdac5b534514a8ba80f6bd61fc9dd8b464)Go

Reviewed By: newstzpz

Differential Revision: D28672821

fbshipit-source-id: 6a378af2bb43ef6cb556d4158fd1b0d3e363e956
parent 737d099b
......@@ -28,7 +28,10 @@ class TestConfig(unittest.TestCase):
for location in ["detectron2", "detectron2go"]:
root_dir = os.path.abspath(reroute_config_path(f"{location}://."))
files = glob.glob(os.path.join(root_dir, "**/*.yaml"), recursive=True)
files = glob.glob(
os.path.join(root_dir, "**/*.yaml"),
recursive=True)
files = [f for f in files if "fbnas" not in f]
self.assertGreater(len(files), 0)
for fn in sorted(files):
logger.info("Loading {}...".format(fn))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment