主要内容

releaseGPUMemory

R2026b

Release GPU memory allocated for Grounding DINO object detector

Since R2026b

    Description

    Add-On Required: This feature requires the Computer Vision Toolbox Model for Grounding DINO Object Detection add-on.

    releaseGPUMemory(detector) releases the GPU memory allocated to the object detector detector. Use this function to free GPU resources after detecting objects on a GPU using the detect function of groundingDinoObjectDetector object.

    Input Arguments

    collapse all

    Grounding DINO object detector, specified as a groundingDinoObjectDetector object.

    Version History

    Introduced in R2026b