|
|
@ -80,7 +80,7 @@ YOLOv8_pose::YOLOv8_pose(const std::string &engine_file_path) { |
|
|
|
|
|
|
|
|
|
|
|
this->engine = this->runtime->deserializeCudaEngine(trtModelStream, size); |
|
|
|
this->engine = this->runtime->deserializeCudaEngine(trtModelStream, size); |
|
|
|
assert(this->engine != nullptr); |
|
|
|
assert(this->engine != nullptr); |
|
|
|
|
|
|
|
delete[] trtModelStream; |
|
|
|
this->context = this->engine->createExecutionContext(); |
|
|
|
this->context = this->engine->createExecutionContext(); |
|
|
|
|
|
|
|
|
|
|
|
assert(this->context != nullptr); |
|
|
|
assert(this->context != nullptr); |
|
|
|