File tree 6 files changed +8
-8
lines changed
6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 31
31
}
32
32
const body = issue.data.body.toLowerCase();
33
33
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) ;
35
35
if (hasInstructions && hasEnvironment) {
36
36
core.debug("Issue " + issue.data.title + " follows template.");
37
37
return;
Original file line number Diff line number Diff line change 9
9
10
10
### Build Detectron2 from Source
11
11
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.
13
13
After having them, run:
14
14
```
15
15
python -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
61
61
62
62
Note that:
63
63
1 . 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.
65
65
2 . New packages are released every few months. Therefore, packages may not contain latest features in the master
66
66
branch and may not be compatible with the master branch of a research project that uses detectron2
67
67
(e.g. those in [ projects] ( projects ) ).
Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ def register_coco_panoptic(
76
76
e.g. "coco_2017_train_panoptic"
77
77
metadata (dict): extra metadata associated with this dataset.
78
78
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
81
81
sem_seg_root (none): not used, to be consistent with
82
82
`register_coco_panoptic_separated`.
83
83
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():
92
92
cxx = cxx .decode ("utf-8" ).strip ().split ("\n " )[0 ]
93
93
except subprocess .SubprocessError :
94
94
cxx = "Not found"
95
- data .append (("Compiler" , cxx ))
95
+ data .append (("Compiler ($CXX) " , cxx ))
96
96
97
97
if has_cuda and CUDA_HOME is not None :
98
98
try :
Original file line number Diff line number Diff line change 5
5
cd docker/
6
6
# Build:
7
7
docker build --build-arg USER_ID=$UID -t detectron2:v0 .
8
- # Launch:
8
+ # Launch (require GPUs) :
9
9
docker run --gpus all -it \
10
10
--shm-size=8gb --env="DISPLAY" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
11
11
--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
227
227
to contiguous ids in [ 0, num_categories). It is useful for evaluation only.
228
228
229
229
* ` 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.
231
231
* ` evaluator_type ` : Used by the builtin main training script to select
232
232
evaluator. Don't use it in a new training script.
233
233
You can just provide the [ DatasetEvaluator] ( ../modules/evaluation.html#detectron2.evaluation.DatasetEvaluator )
You can’t perform that action at this time.
0 commit comments