Commit b3c93df2 authored by shenyunhang's avatar shenyunhang Committed by Facebook Github Bot

Fix some typos: lib -> detectron

Summary:
We fix some typos: lib -> detectron .
Closes https://github.com/facebookresearch/Detectron/pull/429

Reviewed By: rbgirshick

Differential Revision: D7988278

Pulled By: ir413

fbshipit-source-id: 5e673b51a831f95aa7d7ea2ce51c5c41a1715825
parent de55ea30
......@@ -27,4 +27,4 @@ Also potentially relevant: inference with Mask R-CNN on high-resolution images m
#### Q: How do I use Detectron to train a model on a custom dataset?
**A:** If possible, we strongly recommend that you first convert the custom dataset annotation format to the [COCO API json format](http://cocodataset.org/#download). Then, add your dataset to the [dataset catalog](lib/datasets/dataset_catalog.py) so that Detectron can use it for training and inference. If your dataset cannot be converted to the COCO API json format, then it's likely that more significant code modifications will be required. If the dataset you're adding is popular, please consider making the converted annotations publicly available; If code modifications are required, please consider submitting a pull request.
**A:** If possible, we strongly recommend that you first convert the custom dataset annotation format to the [COCO API json format](http://cocodataset.org/#download). Then, add your dataset to the [dataset catalog](detectron/datasets/dataset_catalog.py) so that Detectron can use it for training and inference. If your dataset cannot be converted to the COCO API json format, then it's likely that more significant code modifications will be required. If the dataset you're adding is popular, please consider making the converted annotations publicly available; If code modifications are required, please consider submitting a pull request.
......@@ -191,7 +191,7 @@ __C.TRAIN.AUTO_RESUME = True
# ---------------------------------------------------------------------------- #
# Data loader options (see lib/roi_data/loader.py for more info)
# Data loader options (see detectron/roi_data/loader.py for more info)
# ---------------------------------------------------------------------------- #
__C.DATA_LOADER = AttrDict()
......
......@@ -150,7 +150,7 @@ def _do_matlab_eval(json_dataset, salt, output_dir='output'):
logger.info('-----------------------------------------------------')
info = voc_info(json_dataset)
path = os.path.join(
cfg.ROOT_DIR, 'lib', 'datasets', 'VOCdevkit-matlab-wrapper')
cfg.ROOT_DIR, 'detectron', 'datasets', 'VOCdevkit-matlab-wrapper')
cmd = 'cd {} && '.format(path)
cmd += '{:s} -nodisplay -nodesktop '.format(cfg.MATLAB)
cmd += '-r "dbstop if error; '
......
......@@ -68,7 +68,7 @@ def parse_args():
'--profiler', dest='profiler', help='profile minibatch load time',
action='store_true')
parser.add_argument(
'opts', help='See lib/core/config.py for all options', default=None,
'opts', help='See detectron/core/config.py for all options', default=None,
nargs=argparse.REMAINDER)
if len(sys.argv) == 1:
parser.print_help()
......
......@@ -105,7 +105,7 @@ def parse_args():
default=1,
type=int)
parser.add_argument(
'opts', help='See lib/core/config.py for all options', default=None,
'opts', help='See detectron/core/config.py for all options', default=None,
nargs=argparse.REMAINDER)
if len(sys.argv) == 1:
parser.print_help()
......
......@@ -81,7 +81,7 @@ def parse_args():
)
parser.add_argument(
'opts',
help='See lib/core/config.py for all options',
help='See detectron/core/config.py for all options',
default=None,
nargs=argparse.REMAINDER
)
......
......@@ -73,7 +73,7 @@ def parse_args():
)
parser.add_argument(
'opts',
help='See lib/core/config.py for all options',
help='See detectron/core/config.py for all options',
default=None,
nargs=argparse.REMAINDER
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment