Skip to content

dets = detection.runDetector(input,true); not working #13

@DejanInea

Description

@DejanInea

Hi, I've tried torchExample.cpp and got error in dets = detection.runDetector(input,true);:

Exception thrown at 0x00007FFEBD66F39C in torchTest.exe: Microsoft C++ exception: c10::IndexError at memory location 0x000000FECC0FB350.
Caught c10::Error: Dimension out of range (expected to be in range of [-1, 0], but got 2)

I've tried so solve it somehow but for now no luck.

I'm using libtorch-win-shared-with-deps-debug-2.3.1+cu121 and opencv-4.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions