Skip to content

Commit

Permalink
Refactor code for speed and clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Jun 22, 2024
1 parent de11107 commit 92d839c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ At Ultralytics, we provide two different licensing options to suit various use c
<img src="https://github.com/ultralytics/assets/raw/main/social/logo-transparent.png" width="3%" alt="space">
<a href="https://www.tiktok.com/@ultralytics"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-tiktok.png" width="3%" alt="Ultralytics TikTok"></a>
<img src="https://github.com/ultralytics/assets/raw/main/social/logo-transparent.png" width="3%" alt="space">
<a href="https://ultralytics.com/bilibili"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-bilibili.png" width="3%" alt="Ultralytics Instagram"></a>
<a href="https://ultralytics.com/bilibili"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-bilibili.png" width="3%" alt="Ultralytics BiliBili"></a>
<img src="https://github.com/ultralytics/assets/raw/main/social/logo-transparent.png" width="3%" alt="space">
<a href="https://ultralytics.com/discord"><img src="https://github.com/ultralytics/assets/raw/main/social/logo-social-discord.png" width="3%" alt="Ultralytics Discord"></a>
</div>
1 change: 0 additions & 1 deletion models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from collections import defaultdict

import torch.nn as nn

from utils.utils import *


Expand Down
1 change: 0 additions & 1 deletion scoring/matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
from collections import defaultdict

import numpy as np

from scoring.rectangle import Rectangle


Expand Down
3 changes: 1 addition & 2 deletions scoring/score.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@

import numpy as np
import scipy.io
from tqdm import tqdm

from scoring.matching import Matching
from scoring.rectangle import Rectangle
from tqdm import tqdm

"""
Scoring code to calculate per-class precision and mean average precision.
Expand Down

0 comments on commit 92d839c

Please sign in to comment.