Commit 55220b73 authored by Sikhin VC's avatar Sikhin VC

api changes

parent f04b8b6b
......@@ -46,7 +46,7 @@ class ModelOptimization:
shutil.copy(self.weight_path, os.path.join(code_directory, 'tensorrtx/yolov5/build'))
logger.info("Copied wts file to build directory")
weight_name_with_extension = os.path.basename(self.weight_path)
os.chdir('tensorrtx/yolov5/build')
os.chdir(os.path.join(code_directory, 'tensorrtx/yolov5/build'))
logger.info("Changed to build directory")
logger.info("Running CMake command")
subprocess.run(['cmake', '..'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment