We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4503854 commit 6f521d9Copy full SHA for 6f521d9
official/vision/modeling/backbones/spinenet.py
@@ -554,7 +554,7 @@ def build_spinenet(
554
assert backbone_type == 'spinenet', (f'Inconsistent backbone type '
555
f'{backbone_type}')
556
557
- model_id = backbone_cfg.model_id
+ model_id = str(backbone_cfg.model_id)
558
if model_id not in SCALING_MAP:
559
raise ValueError(
560
'SpineNet-{} is not a valid architecture.'.format(model_id))
0 commit comments