Closed effdotsh closed 5 years ago
OK thank you, also how do you change the number of output lines?
You can choose how many characters are output with -n
:
$ python sample.py --help
usage: sample.py [-h] [--save_dir SAVE_DIR] [-n N] [--prime PRIME]
[--sample SAMPLE]
optional arguments:
-h, --help show this help message and exit
--save_dir SAVE_DIR model directory to store checkpointed models (default:
save)
-n N number of characters to sample (default: 500)
--prime PRIME prime text (default: )
--sample SAMPLE 0 to use max at each timestep, 1 to sample at each
timestep, 2 to sample on spaces (default: 1)
It outputs to the command line.
For example: