Skip to content

error: CUDA out of memory with targets = mask #46

@justin-rwazi

Description

@justin-rwazi

Request Body

Image
{
    "model": "DINO-X-1.0",
    "image": "https://i.postimg.cc/t9LHkxk6/BH9z-SGd34-Sz-Xe-Dt-E3-W-p3.jpg
",
    "prompt": {
        "type": "text",
        "text": "product package"
    },
    "targets": [
        "bbox",
        "mask"
    ],
    "bbox_threshold": 0.15,
    "iou_threshold": 0.8
}

Response

{
    "code": 0,
    "msg": "ok",
    "data": {
        "error": "CUDA out of memory.",
        "result": null,
        "session_id": "",
        "status": "failed",
        "uuid": "6ec816c0-5922-4ac2-b81f-bb6a53b175c3"
    }
}

Image size is 3200x3200px
The doc says it will resize image automatically, I don't want to resize at my code cause the bbox will be different vs origin image

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