Skip to content

Commit

Permalink
Update vit_det_backbone.py (#1941)
Browse files Browse the repository at this point in the history
  • Loading branch information
divyashreepathihalli authored Oct 18, 2024
1 parent 2502d3f commit 0e8a995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keras_hub/src/models/vit_det/vit_det_backbone.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ViTDetBackbone(Backbone):
global_attention_layer_indices (list): Indexes for blocks using
global attention.
image_shape (tuple[int], optional): The size of the input image in
`(H, W, C)` format. Defaults to `(1024, 1024, 3)`.
`(H, W, C)` format. Defaults to `(None, None, 3)`.
patch_size (int, optional): the patch size to be supplied to the
Patching layer to turn input images into a flattened sequence of
patches. Defaults to `16`.
Expand Down Expand Up @@ -79,7 +79,7 @@ def __init__(
intermediate_dim,
num_heads,
global_attention_layer_indices,
image_shape=(1024, 1024, 3),
image_shape=(None, None, 3),
patch_size=16,
num_output_channels=256,
use_bias=True,
Expand Down

0 comments on commit 0e8a995

Please sign in to comment.