Skip to content

Commit a42afdd

Browse files
update demo
1 parent 01907c0 commit a42afdd

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

demo/huge_image_demo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
import mmcv
55
from mmdet.apis import init_detector
66

7-
from mmrotate.apis import inference_detector_by_patches
8-
from mmrotate.registry import VISUALIZERS
9-
from mmrotate.utils import register_all_modules
7+
from ai4rs.apis import inference_detector_by_patches
8+
from ai4rs.registry import VISUALIZERS
9+
from ai4rs.utils import register_all_modules
1010

1111

1212
def parse_args():
@@ -57,7 +57,7 @@ def parse_args():
5757

5858

5959
def main(args):
60-
# register all modules in mmrotate into the registries
60+
# register all modules in ai4rs into the registries
6161
register_all_modules()
6262

6363
# build the model from a config file and a checkpoint file

demo/image_demo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import mmcv
55
from mmdet.apis import inference_detector, init_detector
66

7-
from mmrotate.registry import VISUALIZERS
8-
from mmrotate.utils import register_all_modules
7+
from ai4rs.registry import VISUALIZERS
8+
from ai4rs.utils import register_all_modules
99

1010

1111
def parse_args():
@@ -28,7 +28,7 @@ def parse_args():
2828

2929

3030
def main(args):
31-
# register all modules in mmrotate into the registries
31+
# register all modules in ai4rs into the registries
3232
register_all_modules()
3333

3434
# build the model from a config file and a checkpoint file

0 commit comments

Comments
 (0)