Refactor grid default boxes with torch meshgrid (#3799)
* Refactor grid default boxes with torch.meshgrid * Fix torch jit tracing * Only doing the list multiplication once Co-authored-by:Francisco Massa <fvsmassa@gmail.com> * Make grid_default_box private as suggested Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com> * Replace list multiplication with torch.repeat * Move the clipping into _grid_default_boxes to accelerate Co-authored-by:
Francisco Massa <fvsmassa@gmail.com> Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
Showing
Please register or sign in to comment