Skip to content

Commit

Permalink
update predict for v9\v10
Browse files Browse the repository at this point in the history
  • Loading branch information
WongGawa committed Feb 20, 2025
1 parent bdc48d6 commit eeb2ec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest] # , macos-latest, windows-latest
python: [3.7, 3.8, 3.9]
python: [3.8, 3.9]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion demo/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def detect(

# Run infer
_t = time.time()
out = network(imgs_tensor) # inference and training outputs
out, _ = network(imgs_tensor) # inference and training outputs
out = out[0] if isinstance(out, (tuple, list)) else out
infer_times = time.time() - _t

Expand Down

0 comments on commit eeb2ec5

Please sign in to comment.