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 844d055 commit bfbc866
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ For bug reports, feature requests, and contributions, head to [GitHub Issues](ht
<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 detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import numpy as np
import torch
from tqdm import tqdm

from utils import torch_utils

device = torch_utils.select_device()
Expand Down
1 change: 0 additions & 1 deletion train.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import scipy.io

from models import *
from utils.utils import *

Expand Down
3 changes: 1 addition & 2 deletions train_resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
import os

import cv2
from tqdm import tqdm

from models import *
from tqdm import tqdm
from utils.utils import *


Expand Down
1 change: 0 additions & 1 deletion train_sandd.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import scipy.io

from models import *
from utils.utils import *

Expand Down
1 change: 0 additions & 1 deletion train_xview_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import cv2
import torch.nn as nn

from utils.utils import *

# Start New Training
Expand Down

0 comments on commit bfbc866

Please sign in to comment.