13 lines
563 B
Python
13 lines
563 B
Python
"""Original EPFL DISK depth checkpoint/Unet; official host NMS and descriptor lookup."""
|
|
from . import feature_common as common
|
|
EXPORTER_VERSION = common.EXPORTER_VERSION
|
|
INPUT_SPEC = common.input_spec('disk')
|
|
MODEL_SPEC = {'input_spec': INPUT_SPEC, 'dataset': 'hpatches', 'input_override_reason': 'Official DISK expects RGB; CSV grayscale is incorrect.'}
|
|
CHECKPOINT = common.checkpoint_info('disk')
|
|
PREPROCESS = common.recipe('disk')
|
|
OPSET = 17
|
|
preprocess = common.preprocess
|
|
|
|
def build(weights, input_spec):
|
|
return common.build('disk', weights, input_spec)
|