Skip to content

Commit

Permalink
fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
almazgimaev committed Dec 13, 2023
1 parent 8fcd6aa commit c5a907f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisely/train/src/sly_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def train(api: sly.Api, task_id, context, state, app_logger):
# start train script
api.app.set_field(task_id, "state.activeNames", ["labels", "train", "pred", "metrics"]) # "logs",
get_progress_cb("YOLOv5: Scanning data ", 1)(1)
train_yolov5.main(stop_event_check=g.my_app.app_is_stoped)
train_yolov5.main(stop_event_check=g.my_app.is_stopped)

# upload artifacts directory to Team Files
upload_artifacts(g.local_artifacts_dir, g.remote_artifacts_dir)
Expand Down

0 comments on commit c5a907f

Please sign in to comment.