def export_and_load_model(experiment_id: int) -> None:
    ctx = multiprocessing.get_context('spawn')
    p = ctx.Process(target=_export_and_load_model, args=(experiment_id, conf.make_master_url()))
    p.start()
    p.join()
    assert (p.exitcode == 0), p.exitcode
def export_and_load_model(experiment_id: int) -> None:
    ctx = multiprocessing.get_context('spawn')
    p = ctx.Process(target=_export_and_load_model, args=(experiment_id, conf.make_master_url()))
    p.start()
    p.join()
    assert (p.exitcode == 0), p.exitcode