improved inline error messages slightly

This commit is contained in:
Lincoln Stein 2022-08-25 22:19:12 -04:00
parent e202441f0c
commit c38b6964b4
2 changed files with 2 additions and 1 deletions

View File

@ -286,6 +286,7 @@ The vast majority of these arguments default to reasonable values.
print('Partial results will be returned; if --grid was requested, nothing will be returned.')
except RuntimeError as e:
print(str(e))
print('Are you sure your system has an adequate NVIDIA GPU?')
toc = time.time()
print(f'{len(results)} images generated in',"%4.2fs"% (toc-tic))

View File

@ -252,7 +252,7 @@ def create_argv_parser():
'-o',
type=str,
default="outputs/img-samples",
help="directory in which to place generated images and a log of prompts and seeds")
help="directory in which to place generated images and a log of prompts and seeds (outputs/img-samples")
parser.add_argument('--embedding_path',
type=str,
help="Path to a pre-trained embedding manager checkpoint - can only be set on command line")