Giter Site home page Giter Site logo

pnid_recognition_project's Introduction

pnid_recognition_project

P&ID Recognition Project

Training example

python ./tools/training/pnid_train.py ./options_example/pnid_train_example.yaml

Installation

Our project depends on MMRotate. Please refer to installation guidance below. For additional, you can refer MMRotate Install Guide for more detailed instruction.
It requires Python 3.7+, CUDA 9.2+ and PyTorch 1.6+.

1. create conda environment

conda create --n pnid python=3.8 -y
conda activate pnid

2. install pytorch (official page)

conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge

3. install mmrotate

pip install -U openmim
mim install mmcv-full
mim install mmdet<3.0.0

cd mmrotate
pip install -v -e .

(Optional) verify mmrotate installation

mim download mmrotate --config oriented_rcnn_r50_fpn_1x_dota_le90 --dest .
python demo/image_demo.py demo/demo.jpg oriented_rcnn_r50_fpn_1x_dota_le90.py oriented_rcnn_r50_fpn_1x_dota_le90-6d2b2ce0.pth --out-file result.jpg

4. install our project

cd ..
pip install -v -e .

pnid_recognition_project's People

Contributors

diskhkme avatar tuna1210 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

1nnoh

pnid_recognition_project's Issues

exe 입력 인자 제한

yaml은 python 코드를 실행할 때만 사용하고, exe로 빌드된 코드는 꼭 필요한 argument (예를 들어 image path, 텍스트 인식의 경우 image_path & xml path 등) 만 집어넣어 실행되도록 할 것

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.