TypeError: NextViT.__init__() got an unexpected keyword argument 'pretrained_cfg_overlay'
Any idea how to solve this? I am clueless. Thanks!
(midas-py310) C:\Midas\MiDaS>python run.py --model_type dpt_next_vit_large_384 --input_path "C:\Midas\MiDaS\input" --output_path "C:\Midas\MiDaS\output"
Initialize
Device: cpu
C:\Midas\MiDaS\midas\external\next_vit\classification\nextvit.py:375: UserWarning: Overwriting nextvit_small in registry with midas.external.next_vit.classification.nextvit.nextvit_small. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
@register_model
C:\Midas\MiDaS\midas\external\next_vit\classification\nextvit.py:381: UserWarning: Overwriting nextvit_base in registry with midas.external.next_vit.classification.nextvit.nextvit_base. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
@register_model
C:\Midas\MiDaS\midas\external\next_vit\classification\nextvit.py:387: UserWarning: Overwriting nextvit_large in registry with midas.external.next_vit.classification.nextvit.nextvit_large. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
@register_model
Traceback (most recent call last):
File "C:\Midas\MiDaS\run.py", line 276, in
Have you solved it? @DuVogel87
Unfortunately no!
@DuVogel87 @yaningjm After my test, it must be ensured that the versions of timm==0.6.12 and einops==0.6.0 are correct.