inference error
wentaoxandry opened this issue · 0 comments
wentaoxandry commented
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?