Skip to content

Commit 515f02f

Browse files
committed
initial commit
1 parent 398c846 commit 515f02f

Some content is hidden

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

73 files changed

+22861
-5
lines changed

.gitignore

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
pip-wheel-metadata/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# PyInstaller
31+
# Usually these files are written by a python script from a template
32+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33+
*.manifest
34+
*.spec
35+
36+
# Installer logs
37+
pip-log.txt
38+
pip-delete-this-directory.txt
39+
40+
# Unit test / coverage reports
41+
htmlcov/
42+
.tox/
43+
.nox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
*.py,cover
51+
.hypothesis/
52+
.pytest_cache/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
target/
76+
77+
# Jupyter Notebook
78+
.ipynb_checkpoints
79+
80+
# IPython
81+
profile_default/
82+
ipython_config.py
83+
84+
# pyenv
85+
.python-version
86+
87+
# pipenv
88+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
90+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
91+
# install all needed dependencies.
92+
#Pipfile.lock
93+
94+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
95+
__pypackages__/
96+
97+
# Celery stuff
98+
celerybeat-schedule
99+
celerybeat.pid
100+
101+
# SageMath parsed files
102+
*.sage.py
103+
104+
# Environments
105+
.env
106+
.venv
107+
env/
108+
venv/
109+
ENV/
110+
env.bak/
111+
venv.bak/
112+
113+
# Spyder project settings
114+
.spyderproject
115+
.spyproject
116+
117+
# Rope project settings
118+
.ropeproject
119+
120+
# mkdocs documentation
121+
/site
122+
123+
# mypy
124+
.mypy_cache/
125+
.dmypy.json
126+
dmypy.json
127+
128+
# Pyre type checker
129+
.pyre/
130+
.DS_Store

README.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
1-
## My Project
1+
## train-and-deploy-ocr-model-on-amazon-sagemaker
22

3-
TODO: Fill this README out!
3+
**Onboard PaddleOCR with SageMaker Projects for MLOps, illustration with optical character recognition on identity documents**
44

5-
Be sure to:
5+
# Quick Start
6+
7+
run train_and_deploy/notebook.ipynb
8+
9+
# code repo organisation (proposition)
10+
11+
* experiments-sagemaker-studio (container will be built through CICD)
12+
* experiments-notebooks (container will be built with docker build, test with local mode)
13+
* image-build-train
14+
* image-build-deploy
15+
* sagemaker-pipeline-workflow
16+
17+
## Features
18+
19+
- [x] **SageMaker Training/Deploy BYOC Mode Support**
20+
- [x] **BYOC training support integrate with Amazon SageMaker training hyper-parameters**
21+
- [x] **convert models from training for inference**
22+
- [x] **BYOC inference support S3ModelURL**
23+
- [ ] **onnx speed up**
24+
- [ ] **integrate with Amazon SageMaker pipeline**
625

7-
* Change the title in this README
8-
* Edit your repository description on GitHub
926

1027
## Security
1128

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test/0.jpg 高雄醫學大學附設中和紀念醫院
2+
test/1.jpg 佛教慈濟醫療財團法人花蓮慈濟醫院
3+
test/2.jpg 基督復臨安息日會醫療財團法人臺
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
train/0.jpg 國立臺灣大學醫學院附設醫院
2+
train/1.jpg 三軍總醫院
3+
train/2.jpg 臺北榮民總醫院
4+
train/3.jpg 國泰綜合醫院
5+
train/4.jpg 臺北及林口長庚醫院
6+
train/5.jpg 馬偕紀念醫院
7+
train/6.jpg 新光吳火獅紀念醫院
8+
train/7.jpg 臺北市立萬芳醫院
9+
train/8.jpg 亞東紀念醫院
10+
train/9.jpg 臺中榮民總醫院
11+
train/10.jpg 中山醫學大學附設醫院
12+
train/11.jpg 中國醫藥大學附設醫院
13+
train/12.jpg 彰化基督教醫療財團法人彰化基督教醫院
14+
train/13.jpg 國立成功大學醫學院附設醫院
15+
train/14.jpg 奇美醫院
16+
train/15.jpg 高雄榮民總醫院
4.65 KB
Loading
5.35 KB
Loading
4.86 KB
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
0.jpg 高雄醫學大學附設中和紀念醫院
2+
1.jpg 佛教慈濟醫療財團法人花蓮慈濟醫院
3+
2.jpg 基督復臨安息日會醫療財團法人臺
4.44 KB
Loading
2.04 KB
Loading

0 commit comments

Comments
 (0)