Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

problem with adaptive streaming #1039

Open
@Rguzman2022

Description

@Rguzman2022

PLEASE FOLLOW THESE INSTRUCTIONS BEFORE POSTING

  1. Please thoroughly read README.md, INSTALL.md, GETTING_STARTED.md, and FAQ.md
  2. Please search existing open and closed issues in case your issue has already been reported
  3. Please try to debug the issue in case you can solve it on your own before posting

After following steps 1-3 above and agreeing to provide the detailed information requested below, you may continue with posting your issue

Video Support Issue

Expected results

We may do inference on a video file utilizing infer Simple video.py, and you can save the resulting video alongside the bounding boxes and/or masks.

Actual results

The infer simple.py utility may be used to execute inference on a directory of picture files (demo/*.jpg in this example). In this example, a ResNet-101-FPN foundation from the models zoo is used with a final generated Mask R-CNN model. The models should be downloaded by Detectron immediately from the URL supplied by the —wts parameter. The directory supplied by —output-dir will include PDF visualisations of the observations produced by this programme. Here is an illustration of the results you might anticipate seeing (for details on the copyright of the photos used in the demonstration, check demo/NOTICE).

What did you observe instead?

Mask R-CNN may be sluggish when performing inferences using your own high-quality photos since a lot of effort is required up sampling the projected filters to the actual picture quality . If the misc mask duration given by tools/infer simple.py is excessive, you can identify this problem . The fix is to first enlarge your photos so that the shorter side is somewhere between 600 and 800 pixels, and then perform inference on the smaller image.

E.g.:

def main(args):
                'rest (caches and auto-tuning need to warm up)'
            )

        image_ret = vis_utils.vis_one_image_opencv_copy(
        image_ret = vis_utils.vis_one_image_opencv(
            im,
            cls_boxes,
            cls_segms,

System information

  • Operating system: window 11
  • Compiler version: Jupyter Notebook
  • CUDA version: cuda-10.2
  • cuDNN version: cuDNN v8.7.0
  • NVIDIA driver version: 285.27
  • GPU models (for all devices if they are not all the same): Nvidia Quadro RTX 4000
  • PYTHONPATH environment variable: c:\ user \ Administrator \ Desktop
  • python --version output: Python 3.7.0
  • Anything else that seems relevant: - Revise the description if our APIs have changed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions