Skip to content

Commit 6be0621

Browse files
authored
Update launch_net.py
1 parent bb37248 commit 6be0621

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

launch_net.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
def parse_args():
1919
d2_arg_parser = default_argument_parser()
2020
parser = argparse.ArgumentParser(
21-
"Submitit for D2-based DETR", parents=[d2_arg_parser], add_help=False
21+
"Submitit launcher for D2-based Guided Distillation", parents=[d2_arg_parser], add_help=False
2222
)
2323

2424
parser.add_argument(
@@ -50,8 +50,7 @@ def parse_args():
5050
def get_shared_folder() -> Path:
5151
user = os.getenv("USER")
5252
if Path("/checkpoint/").is_dir():
53-
# p = Path(f"/private/home/tariqberrada/Projects/mask2former/detectron2/projects/Mask2Former/training-runs/")
54-
p = Path(f"/checkpoint/tariqberrada/gd_evals/")
53+
p = Path(os.path.join(os.getcwd(), "logs"))
5554
p.mkdir(exist_ok=True)
5655
return p
5756
raise RuntimeError("No shared folder available")
@@ -205,4 +204,4 @@ def main():
205204

206205

207206
if __name__ == "__main__":
208-
main()
207+
main()

0 commit comments

Comments
 (0)