Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Integrate multi-gpu training for semi-supervised learning and self-supervised learning #1534

Merged
merged 13 commits into from
Mar 16, 2023
Prev Previous commit
Next Next commit
rename
Lee, Soobee committed Mar 8, 2023
commit 7e4e0feea534b82a857968b723bea9f5100ce75c
10 changes: 5 additions & 5 deletions tests/integration/cli/classification/test_classification.py
Original file line number Diff line number Diff line change
@@ -192,11 +192,11 @@ def test_otx_train_semisl(self, template, tmp_dir_path):
@pytest.mark.parametrize("template", default_templates, ids=default_templates_ids)
def test_otx_multi_gpu_train_semisl(self, template, tmp_dir_path):
tmp_dir_path = tmp_dir_path / "multi_class_cls/test_multi_gpu_semisl"
args_semisl = copy.deepcopy(args)
args_semisl["--unlabeled-data-roots"] = args["--train-data-roots"]
args_semisl["train_params"].extend(["--algo_backend.train_type", "SEMISUPERVISED"])
args_semisl["--gpus"] = "0,1"
otx_train_testing(template, tmp_dir_path, otx_dir, args_semisl)
args_semisl_multigpu = copy.deepcopy(args)
args_semisl_multigpu["--unlabeled-data-roots"] = args["--train-data-roots"]
args_semisl_multigpu["train_params"].extend(["--algo_backend.train_type", "SEMISUPERVISED"])
args_semisl_multigpu["--gpus"] = "0,1"
otx_train_testing(template, tmp_dir_path, otx_dir, args_semisl_multigpu)

@e2e_pytest_component
@pytest.mark.parametrize("template", default_templates, ids=default_templates_ids)