Skip to content

Commit

Permalink
run training inference with with nosave argument
Browse files Browse the repository at this point in the history
  • Loading branch information
denniswittich committed Nov 2, 2023
1 parent 3cb13f4 commit f52b6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trainer/app_code/yolov5_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async def _detect(self, model_information: ModelInformation, images: List[str],
if self.is_cla:
cmd = f'python /app/pred_cla.py --weights {model_folder}/model.pt --source {images_folder} --img-size {img_size} --save-txt'
else:
cmd = f'python /app/pred_det.py --weights {model_folder}/model.pt --source {images_folder} --img-size {img_size} --conf-thres 0.2 --save-txt --save-conf'
cmd = f'python /app/pred_det.py --weights {model_folder}/model.pt --source {images_folder} --img-size {img_size} --conf-thres 0.2 --save-txt --save-conf --nosave'
logging.info(f'running detection with command :\n {cmd}')

executor.start(cmd)
Expand Down

0 comments on commit f52b6dd

Please sign in to comment.