Feature Improvement
The test_detection_model_trainable_backbone_layers test currently downloads the weights of the backbone:
|
pretrained=False, pretrained_backbone=True, trainable_backbone_layers=trainable_layers |
Setting the value pretrained_backbone=True is necessary because the number of trainable layers depends on this value. Unfortunately downloading pre-trained weights can lead to flakiness and slow tests and should be avoided. Until we setup a cache to store the weights locally on the CI, we should find a way to skip the actual downloading of weights during the test execution.
cc @datumbox @pmeier