GithubHelp home page GithubHelp logo

Comments (3)

johnning2333 avatar johnning2333 commented on September 3, 2024

bash mmdetection/tools/dist_test.sh mmdetection/m2doc_config/dino-4scale_w_m2doc_r50_doclaynet_12epoch.py dino_w_m2doc_r50_epoch_12.pth 1 20240614

Please be sure to use ocr annotations of doclaynet. And convert dataset ocr annotations into specific format using /data/doclaynet/ocr_anno_convert.py.

from m2doc.

JulioZhao97 avatar JulioZhao97 commented on September 3, 2024

bash mmdetection/tools/dist_test.sh mmdetection/m2doc_config/dino-4scale_w_m2doc_r50_doclaynet_12epoch.py dino_w_m2doc_r50_epoch_12.pth 1 20240614

Hello!, can I ask you what version of pytorch, cuda, mmcv, mmengine, transformers did you use? I cannot run inference on my environment.

from m2doc.

johnning2333 avatar johnning2333 commented on September 3, 2024

bash mmdetection/tools/dist_test.sh mmdetection/m2doc_config/dino-4scale_w_m2doc_r50_doclaynet_12epoch.py dino_w_m2doc_r50_epoch_12.pth 1 20240614

Hello!, can I ask you what version of pytorch, cuda, mmcv, mmengine, transformers did you use? I cannot run inference on my environment.

you could create environment as:

conda create -n m2doc python=3.8 -y
conda activate m2doc
conda install pytorch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 cudatoolkit=10.2 -c pytorch
git clone https://github.com/johnning2333/M2Doc.git
cd M2Doc/mmdetection
pip install -v -e .
pip install transformers
pip install mmengine
mim install mmcv

from m2doc.

Related Issues (6)

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.