Skip to content

Commit

Permalink
set default ultralytics device to cuda:0 (#111)
Browse files Browse the repository at this point in the history
* change ultralytics device to 'cuda:0'

* add model files to .gitignore
  • Loading branch information
talhabw authored Dec 26, 2024
1 parent bfc3560 commit 44893fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@

*__pycache__*
*.pyc

# ultralytics models
*.pt
2 changes: 1 addition & 1 deletion auv_vision/auv_detection/launch/tracker.launch
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<arg name="max_det" default="300"/>
<arg name="classes" default=""/>
<arg name="tracker" default="bytetrack.yaml"/>
<arg name="device" default="cpu"/>
<arg name="device" default="cuda:0"/>
<arg name="result_conf" default="true"/>
<arg name="result_line_width" default="1"/>
<arg name="result_font_size" default="1"/>
Expand Down

0 comments on commit 44893fe

Please sign in to comment.