This commit is contained in:
root
2022-01-28 12:51:44 +00:00
parent f1a05f2947
commit 42ee7ce880

View File

@@ -11,7 +11,7 @@
"if 'google.colab' in sys.modules:\n",
" print('Running in Colab.')\n",
" !pip3 install transformers==4.15.0 timm==0.4.12 fairscale==0.4.4\n",
" !git clone https://github.com/\n",
" !git clone https://github.com/salesforce/BLIP\n",
" sys.path.append('./BLIP')"
]
},
@@ -139,14 +139,6 @@
" answer = model(image, question, train=False, inference='generate') \n",
" print('answer: '+answer[0])"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "be95d7b4",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {