-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data pipeline refactoring #416
Open
hadipash
wants to merge
56
commits into
main
Choose a base branch
from
refactor_dp
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hadipash
commented
Jul 6, 2023
hadipash
commented
Jul 6, 2023
* Refactor recogniton data pipeline * Fix deterioration args * Fix transform * remove duplicated * merge PR #437 * Better name * better name * Fix SVTR transform * fix svtr transform * best setting for speed * Fix the random in CVRescale * better speed in inference * remove _Compose class from augmentations * move type checking inside `__init__` * remove non data related change --------- Co-authored-by: Rustam Khadipash <[email protected]>
refactor online prediction can run refactor PredictDataset finish refactor online inference data pipeline small fix
Rebased onto the |
hadipash
requested review from
zhtmike,
HaoyangLee,
SamitHuang,
liangxhao,
Songyuanwei,
VictorHe-1 and
CaitinZhao
July 10, 2023 06:45
# Conflicts: # configs/det/psenet/README.md # configs/det/psenet/README_CN.md # mindocr/data/transforms/svtr_transform.py # tests/ut/_common.py
# Conflicts: # configs/rec/visionlan/visionlan_resnet45_LA.yaml # configs/rec/visionlan/visionlan_resnet45_LF_1.yaml # configs/rec/visionlan/visionlan_resnet45_LF_2.yaml # deploy/py_infer/src/data_process/preprocess/preprocess_mapping.py # deploy/py_infer/src/data_process/preprocess/transforms/general_transforms.py # mindocr/data/transforms/svtr_transform.py # mindocr/losses/det_loss.py # tests/ut/test_infer_datasets.py
# Conflicts: # deploy/py_infer/src/data_process/preprocess/builder.py # tests/ut/test_infer_datasets.py
This reverts commit 7e3f3e1.
# Conflicts: # configs/det/dbnet/README.md # configs/det/dbnet/README_CN.md # configs/det/dbnet/db_r18_mlt2017.yaml # configs/det/dbnet/db_r18_td500.yaml # configs/det/dbnet/db_r18_totaltext.yaml # configs/det/dbnet/db_r50_mlt2017.yaml # configs/det/dbnet/db_r50_td500.yaml # configs/det/dbnet/db_r50_totaltext.yaml # requirements.txt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you for your contribution to the MindOCR repo.
Before submitting this PR, please make sure:
Motivation
Refactored data pipeline to match best MindData practices, including:
GeneratorDataset
for data loading only.dataset.map
operation to apply data transformations and augmentations.Decode
,Normalize
,HWC2CHW
).