dinov2 icon indicating copy to clipboard operation
dinov2 copied to clipboard

Enable local loading of tokenizer for dino.txt

Open alexcbb opened this issue 5 months ago • 2 comments

On clusters accessing internet is not possible sometimes and the get_tokenizer function rise an error. This commit add an option to fix the issue by providing a way to provide a local path containing the vocabulary.

alexcbb avatar Jun 17 '25 12:06 alexcbb

the get_tokenizer function rise an error

Which error do you get?

patricklabatut avatar Jun 17 '25 14:06 patricklabatut

the get_tokenizer function rise an error

Which error do you get?

It's just returning a 403 error as the GPU nodes on the cluster are not connected to internet (due to security issues), so unable to request an online url

alexcbb avatar Jun 17 '25 17:06 alexcbb