Small tweak: changed the name of the program in argparse

This was making the automatic help message to be suggesting the program's usage as being literally "$ Quantization Script [arguments]". It should now be something like "$ python3 quantize.py [arguments]".
This commit is contained in:
Gerardo Romero 2023-03-19 12:24:44 -06:00
parent c389c69033
commit e9c33437df

View file

@ -25,7 +25,7 @@ def main():
quantize_script_binary = "quantize"
parser = argparse.ArgumentParser(
prog='Quantization Script',
prog='python3 quantize.py',
description='This script quantizes the given models by applying the '
f'"{quantize_script_binary}" script on them.'
)