multilingual-image-captioning icon indicating copy to clipboard operation
multilingual-image-captioning copied to clipboard

inference error

Open wentaoxandry opened this issue 2 years ago • 0 comments

Dear @gchhablani , I'm trying run Inference.py to get the caption of the image. However, I got this error: flax.errors.ScopeParamShapeError: Inconsistent shapes between value and initializer for parameter "kernel" in "/model/encoder/vision_model/embeddings/patch_embedding": (32, 32, 3, 768), (32, 32, 224, 768). (https://flax.readthedocs.io/en/latest/flax.errors.html#flax.errors.ScopeParamShapeError) could you please give me some clue about it?

wentaoxandry avatar Jun 02 '22 10:06 wentaoxandry