Skip to content

Commit

Permalink
Trainer + Dataloaders (ultralytics#27)
Browse files Browse the repository at this point in the history
Co-authored-by: Laughing-q <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <[email protected]>
Co-authored-by: Ayush Chaurasia <[email protected]>
Co-authored-by: Ayush Chaurasia <[email protected]>
  • Loading branch information
6 people authored Oct 10, 2022
1 parent 7a2e5fd commit d0b3c98
Show file tree
Hide file tree
Showing 27 changed files with 2,885 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,7 @@ dmypy.json

# Pyre type checker
.pyre/

# datasets and projects
datasets/
ultralytics-yolo/
9 changes: 1 addition & 8 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# Include the README
include *.md
include requirements.txt

# Include the license file
include LICENSE

# Include setup.py
include setup.py

# Include the data files
recursive-include data *
recursive-include ultralytics *.yaml
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# Base ----------------------------------------
fire>=0.4.0
hydra-core>=1.2.0
matplotlib>=3.2.2
numpy>=1.18.5
opencv-python>=4.1.1
Expand Down Expand Up @@ -44,4 +45,3 @@ thop>=0.1.1 # FLOPs computation

# HUB -----------------------------------------
GitPython>=3.1.24
requests
3 changes: 3 additions & 0 deletions ultralytics/yolo/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .engine.trainer import BaseTrainer

__all__ = ["BaseTrainer"] # allow simpler import
3 changes: 3 additions & 0 deletions ultralytics/yolo/data/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .build import build_classification_dataloader, build_dataloader
from .dataset import ClassificationDataset, SemanticDataset, YOLODataset
from .dataset_wrappers import MixAndRectDataset
Loading

0 comments on commit d0b3c98

Please sign in to comment.