-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* TLDR-549 delete custom loggers (#393) * changed dedoc-utils version (#394) * remove PdfTxtlayerReader from TxtLayerDetector (#395) * Make train dataset API separated (#396) * TLDR-584 words boldness for images (#397) * TLDR-584 text boldness for words in images * TLDR-582 fix pdf_txtlayer_reader bboxes for lines (labeling_mode="true") (#399) * TLDR-585 added TEDS table benchmark (#398) * TLDR-538 tesseract postprocessing (#388) * TLDR-590 fix code style in scripts directory (#400) * Add job to meet requirements of the develop branch (#401) * TLDR-602 some fixes of web form (#402) * Translate labeling web pages into English (#403) * TLDR-556 tutorial how to add a new structure type (#405) * TLRD-182 eml reader bug fix (#406) * new version (#407) --------- Co-authored-by: Nikita Shevtsov <[email protected]> Co-authored-by: Alexander Golodkov <[email protected]> Co-authored-by: Andrew Perminov <[email protected]> Co-authored-by: Oksana Belyaeva <[email protected]>
- Loading branch information
1 parent
1888659
commit 297dec8
Showing
234 changed files
with
64,121 additions
and
1,487 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: CI | ||
|
||
# Controls when the action will run. | ||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
- master | ||
paths-ignore: | ||
- 'VERSION' | ||
- 'docs/source/changelog.rst' | ||
push: | ||
branches: | ||
- develop | ||
- master | ||
paths-ignore: | ||
- 'VERSION' | ||
- 'docs/source/changelog.rst' | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
labeling: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.9' | ||
- name: Run tests for labeling | ||
run: | | ||
test="true" docker-compose -f labeling/docker-compose.yml up --build --exit-code-from test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Skip CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- new_version | ||
paths: | ||
- 'VERSION' | ||
- 'docs/source/changelog.rst' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pipeline: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Skip tests (only VERSION and changelog have been changed) | ||
run: echo "This is used to meet the requirements of pull-request to the develop branch (pipeline should pass)" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,6 @@ ENV/ | |
[Ll]ib | ||
[Ll]ib64 | ||
[Ll]ocal | ||
[Ss]cripts | ||
pyvenv.cfg | ||
.venv | ||
pip-selfcheck.json | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.0 | ||
2.1 |
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,7 @@ | ||
import argparse | ||
|
||
from dedoc.api.dedoc_api import get_api, run_api # noqa | ||
from dedoc.config import Configuration, get_config | ||
|
||
|
||
def main() -> None: | ||
run_api(get_api()) | ||
from dedoc.config import Configuration | ||
|
||
|
||
if __name__ == "__main__": | ||
parser_config = argparse.ArgumentParser() | ||
parser_config.add_argument("-c", "--config_path", help="path to configuration file") | ||
parser_config.add_argument("-m", "--module", help="Only for tests") | ||
parser_config.add_argument("-f", "--test_files", metavar="VALUE", nargs="*", help="Only for tests") | ||
parser_config.add_argument("-v", "--unitest_verbose_mode", nargs="?", help="to enable verbose mode of unittest. Only for tests") | ||
|
||
args_config = parser_config.parse_args() | ||
Configuration.get_instance().get_config(args_config) | ||
config = get_config() | ||
|
||
if config.get("labeling_mode", False): | ||
from api.train_dataset.train_dataset_api import run_special_api # noqa | ||
run_special_api() | ||
else: | ||
main() | ||
Configuration.get_instance().get_config() | ||
run_api(get_api()) |
Oops, something went wrong.