Depth Estimation
Transformers
PyTorch
dpt
vision
dinov2

config.json null values

#1
by lizelive - opened

it has a ton of null values
tried patching them from backbone_config

backbone_config = x['backbone_config']
def fixNull(k, v):
    if v == null:
        return backbone_config.get(k)
    return v

y = { k:fixNull(k,v) for k,v in x.items() }

did not work

Sign up or log in to comment