Questions tagged [detectron]

Use "detectron" tag for questions related to FAIR's detectron or detectron2 framework for object detection and segmentation.

217 questions
0
votes
0 answers

features extraction for tracking

i'm trying to extract the features vector (128 dim) for deepSORT tracking. I'm using the framework Detectron2. I saw the following code for features extraction: image = cv2.imread('my_image.jpg') height, width = image.shape[:2] image =…
Smadar
  • 1
  • 1
  • 1
0
votes
1 answer

Invoke endpoint error - detectron2 on AWS Sagemaker: ValueError: Type [application/x-npy] not support this type yet

I have been following this guide for implementing a Detectron2 model on Sagemaker. It all looks good, both on the training and the batch transform side. However, I tried to tweak a bit the code to create an Endpoint that can be invoked by sending a…
Fraccalo
  • 197
  • 2
  • 12
0
votes
1 answer

How to convert horizontal bounding box to oriented bounding box in object detection task

I am trying to detect oriented bounding boxes with faster rcnn for a long time but I couldn't make it to do so. I aim to detect objects in DOTA dataset. I was using built-in faster rcnn model in pytorch but realized that it does not support OBB.…
0
votes
0 answers

tuple index out of range - detectron2

I saved the model named final_model that I trained in the output file on colab, but it gives a tuple index out of range error. How can I solve this error. In addition, I want to import the output file from google drive. How can I edit the code in…
0
votes
1 answer

how to monitor object detection model in production?

I have a doubt, can someone tell me how to monitor the object detection model in production, relevant articles would be helpful. I have build FasterRCNN using PyTorch, I’m moving my model to production I would like to know which statistical and…
0
votes
1 answer

How to run densepose on video with Detectron2

I was wondering if it is possible to run densepose annotations on a mp4 with detectron2? In the projects folder, you can run densepose with applynet.py but this only works on images. I tried running this commmand d demo/ python demo.py…
0
votes
2 answers

Detectron2 Mask R-CNN cell segmentation - nothing visible

I'm new to deep learning and trying cell segmentation with Detectron2 Mask R-CNN. I use the images and mask images from http://celltrackingchallenge.net/2d-datasets/ - Simulated nuclei of HL60 cells - the training dataset. The folder I am using is…
0
votes
1 answer

How to test custom Faster RCNN model(using Detectron 2 and pytorch) on video?

I have trained a Faster RCNN model on a custom dataset for object detection and want to test it on Videos. I could test the results on images but am stuck on how to do that for a video. Here is the code for inference on images: cfg.MODEL.WEIGHTS =…
0
votes
0 answers

Errno 9 Bad file descriptor Detectron2

I was working on Detectron2 for object detection in google colab and It worked successfully, but I had to move to a cluster HPC that uses CentOS 7.4 and Conda. I have already installed all the requirements and at the moment to run the script no…
0
votes
2 answers

In detectron 2 how could i get detected object class name and the bounding box x,y coordinates

In detectron 2 how could i get detected object class name and the bounding box x,y coordinates? and print it like print(obj_name,x,y)
0
votes
1 answer

Type of input images for object detection in Detectron2

I´m using Detectron2 for train Faster R-CNN model for object detection and I want to train the model given by model zoo with inputs in the range [0 1] instead [0 255] so I used a Color transform which calls my function scale_transform def…
0
votes
1 answer

Can Detectron2 identify human faces or not?

I want to know that detectron2 can identify human faces or not. I know detectron2 is an object detection framework so its possible or not?
JOHN
  • 1
0
votes
1 answer

CfgNode parameters in Detectron2

I am new in object detection an I want to train an Neural Net in Detectron2. I had followed the tutorial and now, I want to know more about this tool. For setting up the model, this tool uses a CfgNode and I read the ReadTheDocs Detectron2's portal…
0
votes
2 answers

Detectron2 Speed up inference instance segmentation

I have working instance segmentation, I'm using "mask_rcnn_R_101_FPN_3x" model. When I inference image it takes about 3 second / image on GPU. How can I speed up it faster ? I code in Google Colab This is my setup config: cfg =…
LITTE_BOY
  • 1
  • 2
  • 2
0
votes
1 answer

Receiving coordinates from inference Pytorch

I'm trying to get the coordinates of the pixels inside of a mask that is generated by Pytorches DefaultPredictor, to later on get the polygon corners and use this in my application. However, DefaultPredictor produced a tensor of pred_masks, in the…