para.hpp 725 B

1234567891011121314151617
  1. #include <chrono>
  2. #include "cuda_utils.h"
  3. #include "logging.h"
  4. #include "utils.h"
  5. static const int INPUT_H = Yolo::INPUT_H;
  6. static const int INPUT_W = Yolo::INPUT_W;
  7. static const int IMG_H = Yolo::IMG_H;
  8. static const int IMG_W = Yolo::IMG_W;
  9. static const int CLASS_NUM = Yolo::CLASS_NUM;
  10. //static const int OUTPUT_SIZE = Yolo::MAX_OUTPUT_BBOX_COUNT * sizeof(Yolo::Detection) / sizeof(float) + 1; // we assume the yololayer outputs no more than MAX_OUTPUT_BBOX_COUNT boxes that conf >= 0.1
  11. static const int OUTPUT_SIZE = 77000;
  12. const char* INPUT_BLOB_NAME = "input";
  13. const char* OUTPUT_DET_NAME = "split_for_trace_model_pred";
  14. const char* OUTPUT_SEG_NAME = "seg";
  15. const char* OUTPUT_LANE_NAME = "ll";
  16. static Logger gLogger;