aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJed Fox <git@jedfox.com>2023-03-23 16:42:52 -0400
committerGitHub <noreply@github.com>2023-03-23 22:42:52 +0200
commit404e1da38ec8025707031a8027da14dc1590f952 (patch)
tree17664467614a7e9bcd85381d194a876b3dce80f6
parent4cc053b6d5e9df7ac21fa06b7208a70c156d4d7a (diff)
Fix quantize script not finding models in parent directory (#428)
-rw-r--r--quantize.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantize.py b/quantize.py
index 6320b0a..16b5963 100644
--- a/quantize.py
+++ b/quantize.py
@@ -57,6 +57,7 @@ def main():
# )
args = parser.parse_args()
+ args.models_path = os.path.abspath(args.models_path)
if not os.path.isfile(args.quantize_script_path):
print(