Skip to content

Commit 441be4e

Browse files
authored
[Dcos] Add header for files (open-mmlab#796)
* Add header for files * Delete header in config files
1 parent 6eff941 commit 441be4e

File tree

202 files changed

+203
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+203
-1
lines changed

.dev/gather_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) OpenMMLab. All rights reserved.
12
import argparse
23
import glob
34
import json

.dev/md2yml.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python
22

3+
# Copyright (c) OpenMMLab. All rights reserved.
34
# This tool is used to update model-index.yml which is required by MIM, and
45
# will be automatically called as a pre-commit hook. The updating will be
56
# triggered if any change of model information (.md files in configs/) has been

.dev/upload_modelzoo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) OpenMMLab. All rights reserved.
12
import argparse
23
import os
34
import os.path as osp

demo/image_demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) OpenMMLab. All rights reserved.
12
from argparse import ArgumentParser
23

34
from mmseg.apis import inference_segmentor, init_segmentor, show_result_pyplot

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) OpenMMLab. All rights reserved.
12
# Configuration file for the Sphinx documentation builder.
23
#
34
# This file only contains a selection of the most common options. For a full

docs/stat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python
2+
# Copyright (c) OpenMMLab. All rights reserved.
23
import functools as func
34
import glob
45
import os.path as osp

docs_zh-CN/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) OpenMMLab. All rights reserved.
12
# Configuration file for the Sphinx documentation builder.
23
#
34
# This file only contains a selection of the most common options. For a full

docs_zh-CN/stat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python
2+
# Copyright (c) OpenMMLab. All rights reserved.
23
import functools as func
34
import glob
45
import os.path as osp

mmseg/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) OpenMMLab. All rights reserved.
12
import warnings
23

34
import mmcv

mmseg/apis/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) OpenMMLab. All rights reserved.
12
from .inference import inference_segmentor, init_segmentor, show_result_pyplot
23
from .test import multi_gpu_test, single_gpu_test
34
from .train import get_root_logger, set_random_seed, train_segmentor

0 commit comments

Comments
 (0)