def METHOD_NAME(config, tag_base):
    """
    set process name on local machine
    """
    if config.general.is_cloud:
        return
    if tag_base.startswith("train"):
        tag_base = "train"
    import setproctitle
    setproctitle.setproctitle(tag_base + "_" + config.data.output.rstrip("/").split("/")[-1])