Depth-Anything icon indicating copy to clipboard operation
Depth-Anything copied to clipboard

TypeError:__init__() missing 1 required positional argument: 'config'

Open kangcaidao opened this issue 10 months ago • 3 comments

kangcaidao avatar Apr 26 '24 11:04 kangcaidao

You can see #105. It might solve your troubles.

yourmoln avatar Apr 27 '24 11:04 yourmoln

For me, it is a problem with internet connection. I used HF_ENDPOINT=https://hf-mirror.com and fixed the problem (of course, only if you are in mainland China)

JesseZZZZZ avatar Apr 28 '24 10:04 JesseZZZZZ

For me, it is a problem with internet connection. I used HF_ENDPOINT=https://hf-mirror.com and fixed the problem (of course, only if you are in mainland China)

Thanks!, An elegeant solution to Chinese special version, just replace the default constant: _HF_DEFAULT_ENDPOINT

Choujim avatar May 07 '24 05:05 Choujim

It seems this issue has been resolved. Thank you for your answers! I will close it for now.

LiheYoung avatar May 27 '24 09:05 LiheYoung