File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3131 }
3232 const body = issue.data.body.toLowerCase();
3333 const hasInstructions = body.indexOf("reproduce") != -1;
34- const hasEnvironment = (body.indexOf("environment") != -1) || (body.indexOf("colab") != -1);
34+ const hasEnvironment = (body.indexOf("environment") != -1) || (body.indexOf("colab") != -1) || (body.indexOf("docker") != -1) ;
3535 if (hasInstructions && hasEnvironment) {
3636 core.debug("Issue " + issue.data.title + " follows template.");
3737 return;
Original file line number Diff line number Diff line change 99
1010### Build Detectron2 from Source
1111
12- gcc & g++ ≥ 5 are required. [ ninja] ( https://ninja-build.org/ ) is recommended for faster build.
12+ gcc & g++ ≥ 5.4 are required. [ ninja] ( https://ninja-build.org/ ) is recommended for faster build.
1313After having them, run:
1414```
1515python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
@@ -61,7 +61,7 @@ Choose from this table to install [v0.3 (Nov 2020)](https://github.com/facebookr
6161
6262Note that:
63631 . The pre-built package has to be used with corresponding version of CUDA and the official package of PyTorch.
64- Otherwise, please build detectron2 from source.
64+ Otherwise, please build detectron2 from source.
65652 . New packages are released every few months. Therefore, packages may not contain latest features in the master
6666 branch and may not be compatible with the master branch of a research project that uses detectron2
6767 (e.g. those in [ projects] ( projects ) ).
Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ def register_coco_panoptic(
7676 e.g. "coco_2017_train_panoptic"
7777 metadata (dict): extra metadata associated with this dataset.
7878 image_root (str): directory which contains all the images
79- panoptic_root (str): directory which contains panoptic annotation images
80- panoptic_json (str): path to the json panoptic annotation file
79+ panoptic_root (str): directory which contains panoptic annotation images in COCO format
80+ panoptic_json (str): path to the json panoptic annotation file in COCO format
8181 sem_seg_root (none): not used, to be consistent with
8282 `register_coco_panoptic_separated`.
8383 instances_json (str): path to the json instance annotation file
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def collect_env_info():
9292 cxx = cxx .decode ("utf-8" ).strip ().split ("\n " )[0 ]
9393 except subprocess .SubprocessError :
9494 cxx = "Not found"
95- data .append (("Compiler" , cxx ))
95+ data .append (("Compiler ($CXX) " , cxx ))
9696
9797 if has_cuda and CUDA_HOME is not None :
9898 try :
Original file line number Diff line number Diff line change 55cd docker/
66# Build:
77docker build --build-arg USER_ID=$UID -t detectron2:v0 .
8- # Launch:
8+ # Launch (require GPUs) :
99docker run --gpus all -it \
1010 --shm-size=8gb --env="DISPLAY" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
1111 --name=detectron2 detectron2:v0
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ Some additional metadata that are specific to the evaluation of certain datasets
227227 to contiguous ids in [ 0, num_categories). It is useful for evaluation only.
228228
229229* ` json_file ` : The COCO annotation json file. Used by COCO evaluation for COCO-format datasets.
230- * ` panoptic_root ` , ` panoptic_json ` : Used by panoptic evaluation.
230+ * ` panoptic_root ` , ` panoptic_json ` : Used by COCO-format panoptic evaluation.
231231* ` evaluator_type ` : Used by the builtin main training script to select
232232 evaluator. Don't use it in a new training script.
233233 You can just provide the [ DatasetEvaluator] ( ../modules/evaluation.html#detectron2.evaluation.DatasetEvaluator )
You can’t perform that action at this time.
0 commit comments