Skip to content

Commit

Permalink
Update yolox.cpp: fix INPUT_BLOB_NAME & OUTPUT_BLOB_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
michelpromonet authored Jun 21, 2024
1 parent ac58e0a commit 1e11519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/TensorRT/cpp/yolox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ using namespace nvinfer1;
static const int INPUT_W = 640;
static const int INPUT_H = 640;
static const int NUM_CLASSES = 80;
const char* INPUT_BLOB_NAME = "input_0";
const char* OUTPUT_BLOB_NAME = "output_0";
const char* INPUT_BLOB_NAME = "images";
const char* OUTPUT_BLOB_NAME = "output";
static Logger gLogger;

cv::Mat static_resize(cv::Mat& img) {
Expand Down

0 comments on commit 1e11519

Please sign in to comment.