MCPcopy Create free account
hub / github.com/MegEngine/MegCC / BaseAnchor

Class BaseAnchor

yolox_example/main.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84};
85
86struct BaseAnchor {
87 int grid0;
88 int grid1;
89 int stride;
90};
91
92static void preprocess(cv::Mat& img, float* data_ptr) {
93 float r = std::min(INPUT_W / (img.cols * 1.0), INPUT_H / (img.rows * 1.0));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected