import argparse
import subprocess
from pathlib import Path


def main():
    parser = argparse.ArgumentParser(description='Study launcher')
    parser.add_argument('path', metavar='FILENAME', help='path to study') 
    args = parser.parse_args()

    launch_path = Path(__file__).parent
    run_script = launch_path.joinpath('run.sh')

    # Use Pytorch's distributed launch
    subprocess.Popen(["/bin/bash", run_script, args.path])


if __name__=='__main__':
    main()

1e43d6c8b701261a3611ccaa05e5c37ad7d0c015
<mask token>

<mask token>


def main():
    parser = argparse.ArgumentParser(description='Study launcher')
    parser.add_argument('path', metavar='FILENAME', help='path to study')
    args = parser.parse_args()
    launch_path = Path(__file__).parent
    run_script = launch_path.joinpath('run.sh')
    subprocess.Popen(['/bin/bash', run_script, args.path])


<mask token>

<mask token>


def main():
    parser = argparse.ArgumentParser(description='Study launcher')
    parser.add_argument('path', metavar='FILENAME', help='path to study')
    args = parser.parse_args()
    launch_path = Path(__file__).parent
    run_script = launch_path.joinpath('run.sh')
    subprocess.Popen(['/bin/bash', run_script, args.path])


if __name__ == '__main__':
    main()

import argparse
import subprocess
from pathlib import Path


def main():
    parser = argparse.ArgumentParser(description='Study launcher')
    parser.add_argument('path', metavar='FILENAME', help='path to study')
    args = parser.parse_args()
    launch_path = Path(__file__).parent
    run_script = launch_path.joinpath('run.sh')
    subprocess.Popen(['/bin/bash', run_script, args.path])


if __name__ == '__main__':
    main()

import argparse
import subprocess
from pathlib import Path


def main():
    parser = argparse.ArgumentParser(description='Study launcher')
    parser.add_argument('path', metavar='FILENAME', help='path to study') 
    args = parser.parse_args()

    launch_path = Path(__file__).parent
    run_script = launch_path.joinpath('run.sh')

    # Use Pytorch's distributed launch
    subprocess.Popen(["/bin/bash", run_script, args.path])


if __name__=='__main__':
    main()
