Comments (10)
can you just write full requirements list for installation your lib in clear container, like new virtual machine
from davar-lab-ocr.
also i have this error, if I build mmidet by offical instructions and after run the scrpit:
Traceback (most recent call last):
File "demo/table_recognition/lgpma/tools/test_pub.py", line 19, in
from davarocr.davar_common.apis import inference_model, init_model
File "/home/vaskers5/projects/DAVAR-Lab-OCR/davarocr/davarocr/init.py", line 11, in
from .davar_common import *
File "/home/vaskers5/projects/DAVAR-Lab-OCR/davarocr/davarocr/davar_common/init.py", line 11, in
from .models import *
File "/home/vaskers5/projects/DAVAR-Lab-OCR/davarocr/davarocr/davar_common/models/init.py", line 16, in
from .builder import CONNECTS, EMBEDDING
File "/home/vaskers5/projects/DAVAR-Lab-OCR/davarocr/davarocr/davar_common/models/builder.py", line 13, in
from mmdet.models.builder import build
ImportError: cannot import name 'build' from 'mmdet.models.builder' (/home/vaskers5/miniconda3/envs/dava/lib/python3.7/site-packages/mmdet/models/builder.py
from davar-lab-ocr.
also i have this error, if I build mmidet by offical instructions and after run the scrpit: Traceback (most recent call last): File "demo/table_recognition/lgpma/tools/test_pub.py", line 19, in from davarocr.davar_common.apis import inference_model, init_model File "/home/vaskers5/projects/DAVAR-Lab-OCR/davarocr/davarocr/init.py", line 11, in from .davar_common import * File "/home/vaskers5/projects/DAVAR-Lab-OCR/davarocr/davarocr/davar_common/init.py", line 11, in from .models import * File "/home/vaskers5/projects/DAVAR-Lab-OCR/davarocr/davarocr/davar_common/models/init.py", line 16, in from .builder import CONNECTS, EMBEDDING File "/home/vaskers5/projects/DAVAR-Lab-OCR/davarocr/davarocr/davar_common/models/builder.py", line 13, in from mmdet.models.builder import build ImportError: cannot import name 'build' from 'mmdet.models.builder' (/home/vaskers5/miniconda3/envs/dava/lib/python3.7/site-packages/mmdet/models/builder.py
I have check the latest mmdet2.18.0, in "mmdet/models/builder.py", there is no method of 'build', but version-2.11.0 has.
I think you might use anthor version of mmdet and you may check it.
from davar-lab-ocr.
Сan you please suggest all the author's versions of the packages?
I just can't find a complete list of dependencies for a working build in your project
from davar-lab-ocr.
Thank you for your suggestion. We will consider to add a requirement list.
For now, all dependencies can be installed by the setup.sh script, where the versions of some specific packages have already been labeld.
from davar-lab-ocr.
I have the same error with mmdet==2.11.0
Traceback (most recent call last):
File "demo/table_recognition/lgpma/tools/test_pub.py", line 19, in
from davarocr.davar_common.apis import inference_model, init_model
File "/home/vaskers5/projects/Genotek/DAVAR-Lab-OCR/davarocr/davarocr/init.py", line 11, in
from .davar_common import *
File "/home/vaskers5/projects/Genotek/DAVAR-Lab-OCR/davarocr/davarocr/davar_common/init.py", line 11, in
from .models import *
File "/home/vaskers5/projects/Genotek/DAVAR-Lab-OCR/davarocr/davarocr/davar_common/models/init.py", line 11, in
from mmdet.models.builder import (BACKBONES, DETECTORS, HEADS, LOSSES, NECKS,
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmdet/models/init.py", line 6, in
from .dense_heads import * # noqa: F401,F403
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmdet/models/dense_heads/init.py", line 1, in
from .anchor_free_head import AnchorFreeHead
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmdet/models/dense_heads/anchor_free_head.py", line 8, in
from mmdet.core import multi_apply
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmdet/core/init.py", line 2, in
from .bbox import * # noqa: F401, F403
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmdet/core/bbox/init.py", line 7, in
from .samplers import (BaseSampler, CombinedSampler,
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmdet/core/bbox/samplers/init.py", line 9, in
from .score_hlr_sampler import ScoreHLRSampler
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmdet/core/bbox/samplers/score_hlr_sampler.py", line 2, in
from mmcv.ops import nms_match
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmcv/ops/init.py", line 2, in
from .assign_score_withk import assign_score_withk
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmcv/ops/assign_score_withk.py", line 5, in
ext_module = ext_loader.load_ext(
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/site-packages/mmcv/utils/ext_loader.py", line 13, in load_ext
ext = importlib.import_module('mmcv.' + name)
File "/home/vaskers5/miniconda3/envs/davar/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'mmcv._ext'
from davar-lab-ocr.
ModuleNotFoundError: No module named 'mmcv._ext'
What is the mmcv-full version?
You may uninstall current mmcv and re-install it in a correct version:
pip uninstall mmcv-full
pip uninstall mmcv
pip install mmcv-full==1.3.4 -f https://download.openmmlab.com/mmcv/dist/{cu_version}/{torch_version}/index.html
For example:
pip install mmcv-full==1.3.4 -f https://download.openmmlab.com/mmcv/dist/cu102/torch1.8.0/index.html
from davar-lab-ocr.
Thank you guys
from davar-lab-ocr.
Can anyone specify please, which version of PyTorch, MMCV and MMDET can be used to run test_pub.py to infer custom images from LGPMA model??
from davar-lab-ocr.
Can anyone specify please, which version of PyTorch, MMCV and MMDET can be used to run test_pub.py to infer custom images from LGPMA model??
@jigsawcoder as the author mentioned in other issue, mmcv-full==1.3.4 and mmdet=2.11.0.
But I still got the "ModuleNotFoundError: No module named 'mmcv._ext'" error with these versions.
from davar-lab-ocr.
Related Issues (20)
- When will the CTUNet code and datasets be released?It's a wonderful work!
- how to i use inference?
- train with 1 gpu HOT 1
- 生成的表格
- 18
- how to convert LGPMA to onnx HOT 2
- 2 dead links on LPGMA page HOT 1
- DI 数据集使用问题,可视化"labels",在纵向阅读顺序多列情况遇到的问题
- The pretrained model cannot be downloaded HOT 2
- 请问CTUNet为何要将ComFintab的中文部分和英文部分分别训练
- Can CTUNet opensource the inference code without gt_bbox、gt_text
- Does CTUNet 's masked self-attention mechanism in the graph attention network USE the neighbours relation in Structural Graph Construction part? HOT 1
- In order to reproduce the accuracy in the LGPMA paper, is it necessary to turn on refine_bboxes during post-processing?
- 关于LGPMA训练数据格式的疑问
- Insufficient space for training VSR
- MMdistributedDataparallel 多卡加载数据报错,单卡没有问题
- 请问DRCC工作会开源吗
- LGPMA 空单元格坐标不能预测出来?没找到相关代码
- LGPMA表格处理
- 。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from davar-lab-ocr.