account for new interface in init imports

Этот коммит содержится в:
Inga Ulusoy 2023-02-21 21:32:24 +01:00
родитель 40435a73a1
Коммит 2e40179a68
4 изменённых файлов: 12 добавлений и 12 удалений

8
notebooks/facial_expressions.ipynb сгенерированный
Просмотреть файл

@ -64,7 +64,7 @@
"metadata": {},
"outputs": [],
"source": [
"images = misinformation.find_files(\n",
"images = misinformation.utils.find_files(\n",
" path=\"drive/MyDrive/misinformation-data/\",\n",
" limit=1000,\n",
")"
@ -85,7 +85,7 @@
"metadata": {},
"outputs": [],
"source": [
"?misinformation.find_files"
"?misinformation.utils.find_files"
]
},
{
@ -210,7 +210,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "misinf",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
@ -224,7 +224,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6 (main, Oct 24 2022, 16:07:47) [GCC 11.2.0]"
"version": "3.9.5"
},
"vscode": {
"interpreter": {

4
notebooks/get-text-from-image.ipynb сгенерированный
Просмотреть файл

@ -66,7 +66,7 @@
"metadata": {},
"outputs": [],
"source": [
"images = misinformation.find_files(path=\"../data/all/\", limit=1000)"
"images = misinformation.utils.find_files(path=\"../data/all/\", limit=1000)"
]
},
{
@ -347,7 +347,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6"
"version": "3.9.5"
},
"vscode": {
"interpreter": {

8
notebooks/image_summary.ipynb сгенерированный
Просмотреть файл

@ -37,8 +37,8 @@
"metadata": {},
"outputs": [],
"source": [
"images = misinformation.find_files(\n",
" path=\"../data/images/\",\n",
"images = misinformation.utils.find_files(\n",
" path=\"../data/Image_some_text/\",\n",
" limit=1000,\n",
")"
]
@ -49,7 +49,7 @@
"metadata": {},
"outputs": [],
"source": [
"mydict = misinformation.utils.initialize_dict(images)"
"mydict = misinformation.utils.initialize_dict(images[0:10])"
]
},
{
@ -258,7 +258,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.8"
"version": "3.9.5"
},
"vscode": {
"interpreter": {

4
notebooks/objects_expression.ipynb сгенерированный
Просмотреть файл

@ -37,7 +37,7 @@
"metadata": {},
"outputs": [],
"source": [
"images = misinformation.find_files(\n",
"images = misinformation.utils.find_files(\n",
" path=\"../data/images-little-text/\",\n",
" limit=1000,\n",
")"
@ -213,7 +213,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.0"
"version": "3.9.5"
},
"vscode": {
"interpreter": {