We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CUDA-BEVFusion/src/common/tensorrt.cpp
virtual bool set_run_dims(int ibinding, const std::vector &dims) override { nvinfer1::Dims d; memcpy(d.d, dims.data(), sizeof(int) * dims.size()); d.nbDims = dims.size(); auto engine = this->context_->engine_; auto context = this->context_->context_; return context->setInputShape(engine->getIOTensorName(ibinding), d); }
The data in nvinfer1::Dims is of type int64_t, which gives an error in memcpy.
@hopef
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CUDA-BEVFusion/src/common/tensorrt.cpp
virtual bool set_run_dims(int ibinding, const std::vector &dims) override {
nvinfer1::Dims d;
memcpy(d.d, dims.data(), sizeof(int) * dims.size());
d.nbDims = dims.size();
auto engine = this->context_->engine_;
auto context = this->context_->context_;
return context->setInputShape(engine->getIOTensorName(ibinding), d);
}
The data in nvinfer1::Dims is of type int64_t, which gives an error in memcpy.
@hopef
The text was updated successfully, but these errors were encountered: