Unverified Commit ac975074 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Update `VitDetModelTester.get_config` to use `pretrain_image_size` (#27831)



fix
Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 28e2887a
......@@ -90,6 +90,7 @@ class VitDetModelTester:
def get_config(self):
return VitDetConfig(
image_size=self.image_size,
pretrain_image_size=self.image_size,
patch_size=self.patch_size,
num_channels=self.num_channels,
hidden_size=self.hidden_size,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment