Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading