Comments (8)
it doesn't matter with package version.
In file demo/icdar2013_detection.py, inser a line into function setup_cfg, and then it is like this.
def setup_cfg(args):
# load config from file and command-line arguments
cfg = get_cfg()
cfg.set_new_allowed(True)
cfg.merge_from_file(args.config_file)
cfg.merge_from_list(args.opts)
# Set model
cfg.MODEL.WEIGHTS = args.weights
# Set score_threshold for builtin models
cfg.MODEL.RETINANET.SCORE_THRESH_TEST = args.confidence_threshold
cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = args.confidence_threshold
cfg.MODEL.PANOPTIC_FPN.COMBINE.INSTANCES_CONFIDENCE_THRESH = args.confidence_threshold
cfg.freeze()
return cfg
python demo/icdar2013_detection.py. it works
from textfusenet.
Adding cfg.set_new_allowed(True) solved the issue.
from textfusenet.
same issue anyone solved?
from textfusenet.
Please check the KEY:
TEXTFUSENET_MUTIL_PATH_FUSE_ON: True in file https://github.com/ying09/TextFuseNet/blob/master/configs/ocr/icdar2015_101_FPN.yaml
from textfusenet.
It is true but issue happened to me. I upgraded torchvision it doesn't happen to me now, don't know why. But another issue happens.
_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: THPVariableClass
from textfusenet.
I think it solved, maybe it comes from pytorch version or torchvision, or other librarities install version conflicts, I deleted my conda virtual and remade it, and solved.
from textfusenet.
@Hiteshsaai Yes. This probelm is due to wrong compilation.
from textfusenet.
Hi @skeka @Real-YeJ , I am facing the same issue. Can you share what pytorch, torchvision and detectron2 version youre using?
Thank you (:
from textfusenet.
Related Issues (20)
- Some model parameters are not in the checkpoint? HOT 4
- Batch inference HOT 1
- Evaluating results HOT 1
- About the env installation HOT 1
- Average Precision
- 'keyError: non-existent config key: TEXTFUSENET_MUTIL_PATH_FUSE_ON' HOT 1
- NO_PUBKEY when running docker compose
- Train on Total-Text-Dataset
- TypeError when running demo
- Does the detection branch fuse global features?
- Not able to run test
- fail to reproduce ICDAR2015 result
- Installation error both with Dockerfile and conda environment HOT 2
- Hello, How to convert the PTH model into an ONNX format model HOT 1
- What is the parameter quantity of the model?
- docker HOT 1
- Error in installation HOT 3
- Is it possible to run demo on torch>=1.6.0? HOT 1
- corrupted pre-trained models
- 关于生成字符伪标签mask的问题 HOT 2
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 textfusenet.