From a6c58cdebc1aaeb486ea7780e74d8756d8429689 Mon Sep 17 00:00:00 2001 From: Sylvain Gugger Date: Mon, 17 Jul 2023 12:06:37 -0400 Subject: [PATCH] Fix import path for Van conversion --- .../models/deprecated/van/convert_van_to_pytorch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/models/deprecated/van/convert_van_to_pytorch.py b/src/transformers/models/deprecated/van/convert_van_to_pytorch.py index c9bbc0fc91952d..20492e42be2043 100644 --- a/src/transformers/models/deprecated/van/convert_van_to_pytorch.py +++ b/src/transformers/models/deprecated/van/convert_van_to_pytorch.py @@ -31,7 +31,7 @@ from torch import Tensor from transformers import AutoImageProcessor, VanConfig, VanForImageClassification -from transformers.models.van.modeling_van import VanLayerScaling +from transformers.models.deprecated.van.modeling_van import VanLayerScaling from transformers.utils import logging