linghu8812 / tensorrt_inference

708 stars 208 forks source link

Missing model.h #138

Closed spacewalk01 closed 2 years ago

spacewalk01 commented 2 years ago

Hi thank you for sharing your implementation.

I am trying to run mmpose but there is a missing model.h file in mmpose.h. Where can I find it?

Thanks

linghu8812 commented 2 years ago

https://github.com/linghu8812/tensorrt_inference/blob/master/includes/common/model.h

spacewalk01 commented 2 years ago

Thanks. but I am getting the following error: BATCH_SIZE shouldn't be defined as a constant variable to be used as a size of a new array? image

linghu8812 commented 2 years ago

try to write like this https://github.com/linghu8812/tensorrt_inference/blob/master/Yolov4/Yolov4.cpp#L147? or use docker environment https://github.com/linghu8812/tensorrt_inference#build-from-docker

spacewalk01 commented 2 years ago

Thanks for your quick reply