Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forward error #3

Open
machine52vision opened this issue Dec 20, 2023 · 1 comment
Open

forward error #3

machine52vision opened this issue Dec 20, 2023 · 1 comment

Comments

@machine52vision
Copy link

init enegien sucess,but forward error: kERROR: 3: [executionContext.cpp::nvinfer1::rt::ShapeMachineContext::resolveSlots::2509] Error Code 3: API Usage Error (Parameter check failed at: executionContext.cpp::nvinfer1::rt::ShapeMachineContext::resolveSlots::2509, condition: allInputDimensionsSpecified(routine)
)

@Darknesszlx
Copy link

// 固定动态输入

m_context->setBindingDimensions(0, nvinfer1::Dims4(1, 256, 64, 64));
m_context->setBindingDimensions(1, nvinfer1::Dims3(1, 1, 2)); //point_coords: 1x1x2
m_context->setBindingDimensions(2, nvinfer1::Dims2(1, 1)); //point_labels: 1x1
m_context->setBindingDimensions(3, nvinfer1::Dims4(1, 1, 256, 256));
I got the same error, and try to set other input dimensions in decoder. It will fix the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants