Comments (9)
this is doing inference on one image using the detectron method. the code should be running in the appropriate directory
import detectron2 from detectron2.engine import DefaultPredictor from detectron2.config import get_cfg from vovnet_detectron2.vovnet.config import add_vovnet_config
Load a pre-trained VovNet-based model
cfg = get_cfg() print(1) add_vovnet_config(cfg) ----------->this is the part i was talking about print(2) cfg.merge_from_file("~~~~~~~~") # Specify your model's configuration file cfg.OUTPUT_DIR = "~~~~~~~" # Specify the path to your pre-trained checkpoint cfg.MODEL.WEIGHTS = os.path.join(cfg.OUTPUT_DIR, "model_final.pth") cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.6
I have also solved this problem. Thank you very much for your help
from centermask2.
Hello, have you solved this problem
from centermask2.
need help on this too
from centermask2.
need help on this too
hi, do you have the same problem? Have you found a solution? Can we discuss it? Thank you
from centermask2.
i managed to solve it
from centermask2.
i managed to solve it
can you tell me how you solved it? This problem has been bothering me for several days, but I still haven't found a solution. I am very eager to get your help, thank you bro
from centermask2.
in my instance i had to add code line : add_vovnet_config(cfg) and also had to import the add_vovnet_config. It has gotta be the same on centermask too. Or else can you upload the code where it's bothering you?
from centermask2.
in my instance i had to add code line : add_vovnet_config(cfg) and also had to import the add_vovnet_config. It has gotta be the same on centermask too. Or else can you upload the code where it's bothering you?
Sorry, I just saw the information today. As for the add_vovnet_congig(cfg) you said, I can't understand where to add this part. Could you please upload the modified part of the code so that I can see it more intuitively
from centermask2.
this is doing inference on one image using the detectron method. the code should be running in the appropriate directory
import detectron2
from detectron2.engine import DefaultPredictor
from detectron2.config import get_cfg
from vovnet_detectron2.vovnet.config import add_vovnet_config
Load a pre-trained VovNet-based model
cfg = get_cfg()
print(1)
add_vovnet_config(cfg) ----------->this is the part i was talking about
print(2)
cfg.merge_from_file("~~~~~~~~") # Specify your model's configuration file
cfg.OUTPUT_DIR = "~~~~~~~" # Specify the path to your pre-trained checkpoint
cfg.MODEL.WEIGHTS = os.path.join(cfg.OUTPUT_DIR, "model_final.pth")
cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.6
from centermask2.
Related Issues (20)
- FCOS
- AttributeError: 'BitMasks' object has no attribute 'polygons'
- where can I find mask_rcnn_R_50_FPN_inference_acc_test.yaml
- Anyone succeed in converting pth to onnx format? HOT 1
- Anyone succeed in converting pth model to onnx format? HOT 2
- The gap between the results of our training centermask_R_101_FPN_ms_3x.yaml and the record of the paper HOT 4
- i am not familiar with detectron2 , how can i use the centermask2 in pure pytorch network defines and weights ? HOT 2
- About backbone pretrained models
- RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch) HOT 1
- No such file or directory: 'datasets/coco/panoptic_stuff_train2017'
- Inference on random images using pre-trained models with demo.py does not produce meaningful results HOT 2
- What is the default input size for Centermask-Lite?
- how to test single image
- The difficulty in handling overlapping bounding boxes
- loss mask has remained unchanged during the training process. Why is this?
- how to use centermask-lite demo?
- May be error in MaskIOU module
- Imagenet pretrain 모델로 연락드립니다.
- on the iou loss between pred_boxes and gt_boxes
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 centermask2.