mirror of
https://github.com/salesforce/BLIP.git
synced 2026-01-26 15:19:44 +00:00
demo
This commit is contained in:
10
demo.ipynb
10
demo.ipynb
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user