Skip to content

Commit 8545a88

Browse files
committed
work
1 parent 6a3232e commit 8545a88

Some content is hidden

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

60 files changed

+1000
-1266
lines changed

EAST/EAST.ini

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
[db]
2-
server=(local)
3-
security=integrated
4-
user=sa
5-
password=GGM290471
6-
dbname=mmo
2+
server = (local)
3+
security = integrated
4+
user = sa
5+
password = GGM290471
6+
dbname = mmo
77

8+
[regions.py]
9+
mask_merge_kernel_ratio = 0.01
10+
mask_join_iter = 20
11+
progress_status_file = C:/development/python/EAST/test/bin/PROGRESS_STATUS_FILE.lst
12+
retry_failed = 1
13+
checkpoint_path = C:/development/python/EAST/model/east_icdar2015_resnet_v1_50_rbox
14+
cosine_distance_thresh = 0.04
15+
min_outlier_distance_thresh = 0.03
16+
nms_mode = none
17+
text_scale = 512
18+
gpu_list = 0
19+
pad_contours=20
820

9-
[eval.py]
10-
MASK_MERGE_KERNEL_RATIO=0.01
11-
MASK_JOIN_ITER=20
12-
PROGRESS_STATUS_FILE=C:/development/python/EAST/test/bin/PROGRESS_STATUS_FILE.lst
13-
RETRY_FAILED=1
14-
CHECKPOINT_PATH=C:/development/python/EAST/model/east_icdar2015_resnet_v1_50_rbox
15-
COSINE_DISTANCE_THRESH=0.04
16-
MIN_OUTLIER_DISTANCE_THRESH=0.03
17-
NMS_MODE=none
18-
TEXT_SCALE=512
19-
GPU_LIST=0

EAST/EAST.pyproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<SchemaVersion>2.0</SchemaVersion>
66
<ProjectGuid>{f9d93d92-62d5-4ef4-accd-eb0b730340b9}</ProjectGuid>
77
<ProjectHome />
8-
<StartupFile>test\test_detect.py</StartupFile>
8+
<StartupFile>test\test_regions.py</StartupFile>
99
<SearchPath>..</SearchPath>
1010
<WorkingDirectory>.</WorkingDirectory>
1111
<OutputPath>.</OutputPath>
@@ -47,7 +47,7 @@
4747
</ItemGroup>
4848
<ItemGroup>
4949
<Compile Include="data_util.py" />
50-
<Compile Include="detect.py" />
50+
<Compile Include="regions.py" />
5151
<Compile Include="icdar.py" />
5252
<Compile Include="ini.py">
5353
<SubType>Code</SubType>
@@ -62,7 +62,7 @@
6262
<Compile Include="nets\resnet_v1.py" />
6363
<Compile Include="nets\__init__.py" />
6464
<Compile Include="run_demo_server.py" />
65-
<Compile Include="test\test_detect.py">
65+
<Compile Include="test\test_regions.py">
6666
<SubType>Code</SubType>
6767
</Compile>
6868
<Compile Include="__init__.py" />

EAST/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
__all__ = ['icdar', 'ini', 'locality_aware_nms', 'model']
66

77
_os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
8-
_os.environ['CUDA_VISIBLE_DEVICES'] = str(ini.Detect_py.GPU_LIST)
8+
_os.environ['CUDA_VISIBLE_DEVICES'] = str(ini.Regions_py.GPU_LIST)
99

1010
NMS_MODES = ['none', 'simple', 'pylanms', 'cpplanms']

0 commit comments

Comments
 (0)