Forráskód Böngészése

Fix quantize script not finding models in parent directory (#428)

Jed Fox 2 éve
szülő
commit
404e1da38e
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      quantize.py

+ 1 - 0
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(