chenyuntc / simple-faster-rcnn-pytorch

A simplified implemention of Faster R-CNN that replicate performance from origin paper
Other
4k stars 1.14k forks source link

Why separate np and xp? for numpy import #230

Open tuttelikz opened 3 years ago

tuttelikz commented 3 years ago

In some part of code, for example in bbox_tools.py, numpy import is different, such as: import numpy as np import numpy as xp Is there any special reason to separate between np and xp?