nelson1425 / EfficientAD

Unofficial implementation of EfficientAD https://arxiv.org/abs/2303.14535
https://arxiv.org/abs/2303.14535
Apache License 2.0
240 stars 62 forks source link

The output size of the network is inconsistent with the description in the paper #28

Open limaodaxia opened 7 months ago

limaodaxia commented 7 months ago

Thanks author for the awsome job. But the output size of the Network called PDN(patch descriptor network) is 384 × 56 ×56, while description the in the paper is 384 × 64 × 64. Is it a mistake or my misunderstanding?

yggwz commented 7 months ago

In the code, when padding=True, the PDN output is 384 × 64 × 64, and when padding=False, the PDN output is 384 ×56 ×56. I'm a little confused when padding=False, 384 ×56 ×56 does not match the extracted feature shape (384 × 64 × 64), so when is padding=False set?