question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to apply mask_rcnn segmentation on a balloon video ?

See original GitHub issue

Hi, I am going through the google colab example tutorial.

I am trying to apply mask_rcnn segmentation on a random youtube balloon-video instead of an balloon-image to detect balloon only (one class).

How can I assign .yaml and .pkl files that were generated using images earlier in the tutorial to a random video? thanks

I tried the foolowing but it didn’t work. I think I am having trouble assign the trained config and model files.

!cd detectron2_repo && python demo/demo.py --config-file configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml --video-input ../video-clip_b.mp4 --confidence-threshold 0.6 --output ../video-clip_b_testing1.mkv \
  --opts MODEL.WEIGHTS detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:28

github_iconTop GitHub Comments

1reaction
ppwwyyxxcommented, Oct 19, 2019

Yes

0reactions
Haow235commented, Jan 2, 2020

thank you, I figured it out. I need to register the test data before using it, and then do as you say. thanks a lot~

Read more comments on GitHub >

github_iconTop Results From Across the Web

MASK RCNN balloon example - YouTube
Your browser can't play this video. Learn more. Switch camera.
Read more >
Splash of Color: Instance Segmentation with Mask R-CNN ...
I'll cover two things: First, an overview of Mask RCNN. And, second, how to train a model from scratch and use it to...
Read more >
Getting started with Mask R-CNN in Keras - Gilbert Tanner
In this article, I'll go over what Mask R-CNN is, how to use it in Keras to perform object detection and instance segmentation,...
Read more >
Instance Segmentation with Mask R-CNN and TensorFlow on ...
Semantic Segmentation:These are all the balloon pixels. Object Detection: There are 7 balloons in this image at these locations. We're starting ...
Read more >
Mask RCNN implementation on a custom dataset!
We will implement Mask RCNN for a custom dataset in just one notebook. All you need to do is run all the cells...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found