Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 5bf4cc7

Browse files
RangiLyufacebook-github-bot
authored andcommitted
Typo fixes
Summary: Change depoyment to deployment in README.md. Change datasest to datasets in tools/exporter.py. Pull Request resolved: #7 Reviewed By: newstzpz Differential Revision: D26821039 Pulled By: zhanghang1989 fbshipit-source-id: 5056d15c877c4b3d771d33267139e73f1527da21
1 parent a8aaa5b commit 5bf4cc7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ D2Go is a production ready software system from FacebookResearch, which supports
66

77
- It is a deep learning toolkit powered by [PyTorch](https://pytorch.org/) and [Detectron2](https://github.com/facebookresearch/detectron2).
88
- State-of-the-art efficient backbone networks for mobile devices.
9-
- End-to-end model training, quantization and depoyment pipeline.
9+
- End-to-end model training, quantization and deployment pipeline.
1010
- Easy export to TorchScript format for deployment.
1111

1212
## Installation

tools/exporter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def main(
4343
# NOTE: train dataset is used to avoid leakage since the data might be used for
4444
# running calibration for quantization. test_loader is used to make sure it follows
4545
# the inference behaviour (augmentation will not be applied).
46-
datasest = cfg.DATASETS.TRAIN[0]
47-
data_loader = runner.build_detection_test_loader(cfg, datasest)
46+
datasets = cfg.DATASETS.TRAIN[0]
47+
data_loader = runner.build_detection_test_loader(cfg, datasets)
4848

4949
logger.info("Running the pytorch model and print FLOPS ...")
5050
first_batch = next(iter(data_loader))

0 commit comments

Comments
 (0)