diff --git a/a2perf/launch/entrypoint.py b/a2perf/launch/entrypoint.py index d07113b..b8b0eb9 100644 --- a/a2perf/launch/entrypoint.py +++ b/a2perf/launch/entrypoint.py @@ -1,9 +1,7 @@ import os import subprocess -from absl import app -from absl import flags -from absl import logging +from absl import app, flags, logging _ROOT_DIR = flags.DEFINE_string( "root-dir", None, "Root directory to save metrics and logs from training" @@ -22,18 +20,22 @@ _PARTICIPANT_ARGS = flags.DEFINE_string( "participant-args", None, - "Additional keyword arguments to pass to the participant's train and inference functions.", + "Additional keyword arguments to pass to the" + " participant's train and inference functions.", ) def _usage(): return ( - "Usage: a2perf --root-dir= --submission-gin-config-path= [--participant-args=]\n" + "Usage: a2perf " + "--root-dir= " + "--submission-gin-config-path= " + "[--participant-args=]\n" "\n" "Options:\n" "\t--root-dir\tRoot directory for the experiment\n" "\t--submission-gin-config-path\tPath to the gin configuration file\n" - "\t--participant-args\tAdditional arguments for the participant's train function" + "\t--participant-args\tAdditional arguments for the participant's train function" # noqa: E501 ) diff --git a/setup.py b/setup.py index 61fcdfb..3610ea0 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,7 @@ """Sets up the project.""" -import importlib.util import logging -import os import pathlib -import shutil -import site -import sys -import urllib.request -from distutils.cmd import Command from setuptools import setup