network
xvr.model.network
PoseRegressor
PoseRegressor(
model_name,
parameterization,
convention=None,
pretrained=False,
height=256,
unit_conversion_factor=1000.0,
**kwargs
)
A PoseRegressor is comprised of a pretrained backbone model that extracts features from an input X-ray and two linear layers that decode these features into rotational and translational camera pose parameters, respectively.
Source code in src/xvr/model/network.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |
load_model
load_model(ckptpath, meta=False)
Load a pretrained pose regression model
Source code in src/xvr/model/network.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | |