New features
- Added support for INT8 calibration - Added support for non square models - Updated mAP comparison between models
This commit is contained in:
@@ -56,7 +56,7 @@ class YoloLayer : public nvinfer1::IPluginV2
|
||||
{
|
||||
public:
|
||||
YoloLayer (const void* data, size_t length);
|
||||
YoloLayer (const uint& numBoxes, const uint& numClasses, const uint& gridSize,
|
||||
YoloLayer (const uint& numBoxes, const uint& numClasses, const uint& gridSizeX, const uint& gridSizeY,
|
||||
const uint model_type, const uint new_coords, const float scale_x_y, const float beta_nms,
|
||||
const std::vector<float> anchors, const std::vector<std::vector<int>> mask);
|
||||
const char* getPluginType () const override { return YOLOLAYER_PLUGIN_NAME; }
|
||||
@@ -96,7 +96,8 @@ public:
|
||||
private:
|
||||
uint m_NumBoxes {0};
|
||||
uint m_NumClasses {0};
|
||||
uint m_GridSize {0};
|
||||
uint m_GridSizeX {0};
|
||||
uint m_GridSizeY {0};
|
||||
uint64_t m_OutputSize {0};
|
||||
std::string m_Namespace {""};
|
||||
|
||||
@@ -152,4 +153,4 @@ extern float kBETA_NMS;
|
||||
extern std::vector<float> kANCHORS;
|
||||
extern std::vector<std::vector<int>> kMASK;
|
||||
|
||||
#endif // __YOLO_PLUGINS__
|
||||
#endif // __YOLO_PLUGINS__
|
||||
|
||||
Reference in New Issue
Block a user