dinov2
dinov2 copied to clipboard
Enable local loading of tokenizer for dino.txt
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.
the get_tokenizer function rise an error
Which error do you get?
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