File size: 435 Bytes
99e8fc6 97fb2aa 8c8321a |
1 2 3 4 5 6 7 8 9 10 11 12 |
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="GLIPModel/GLIP", filename="glip_large_model.pth",
local_dir="./pretrained_models/GLIP/checkpoints")
hf_hub_download(repo_id="VDebugger/xvlm_retrieval_mscoco", filename="retrieval_mscoco_checkpoint_9.pth",
local_dir="./pretrained_models/xvlm/")
import nltk
nltk.download('punkt_tab')
nltk.download('averaged_perceptron_tagger_eng')
|