Git Product home page Git Product logo

borderless_tbls_detection's Introduction

sources:

# from <root>
conda create -n <name> python=3.7 tensorflow=2.3 numpy=1.17.4 tf_slim cython git
conda activate <name>
git clone https://github.com/tensorflow/models.git
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
cd models\research
# from <root>\models\research
protoc object_detection\protos\*.proto --python_out=.
copy object_detection\packages\tf2\setup.py .
python setup.py install
python object_detection\builders\model_builder_tf2_test.py
conda install imutils pdf2image beautifulsoup4 typeguard
pip install tf-image
copy object_detection\model_main_tf2.py ..\..\workspace\.
copy object_detection\exporter_main_v2.py ..\..\workspace\.
cd ..\..
# from <root>
tensorboard --logdir=<log>
set NUM_TRAIN_STEPS=1000
set CHECKPOINT_EVERY_N=1000
set PIPELINE_CONFIG_PATH=<pipeline>
set MODEL_DIR=<log>
set SAMPLE_1_OF_N_EVAL_EXAMPLES=1
set NUM_WORKERS=1
python workspace\model_main_tf2.py \
    --pipeline_config_path=%PIPELINE_CONFIG_PATH% \
    --model_dir=%MODEL_DIR% \
    --checkpoint_every_n=%CHECKPOINT_EVERY_N% \
    --num_workers=%NUM_WORKERS% \
    --num_train_steps=%NUM_TRAIN_STEPS% \
    --sample_1_of_n_eval_examples=%SAMPLE_1_OF_N_EVAL_EXAMPLES% \
    --alsologtostderr
python workspace\model_main_tf2.py \
    --pipeline_config_path=%PIPELINE_CONFIG_PATH% \
    --model_dir=%MODEL_DIR% \
    --checkpoint_dir=%MODEL_DIR%
python workspace\exporter_main_v2.py \
    --input_type=image_tensor \
    --pipeline_config_path=%PIPELINE_CONFIG_PATH% \
    --trained_checkpoint_dir=%MODEL_DIR% \
    --output_directory=saved_models\efficientdet_d1_coco17_tpu-32

borderless_tbls_detection's People

Contributors

woldemarg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.