Skip to content

Commit

Permalink
install typings packages for depth-anything (openvinotoolkit#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
eaidova authored Feb 6, 2024
1 parent 66723e5 commit a749049
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 37 deletions.
1 change: 1 addition & 0 deletions .ci/ignore_treon_docker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
108-gpu-device
117-model-server
122-quantizing-model-with-accuracy-control
127-big-transfer-quantization
204-segmenter-semantic-segmentation
216-attention-center
220-cross-lingual-books-alignment
Expand Down
1 change: 1 addition & 0 deletions .ci/ignore_treon_linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
112-pytorch-post-training-quantization-nncf
117-model-server
122-quantizing-model-with-accuracy-control
127-big-transfer-quantization
204-segmenter-semantic-segmentation
214-grammar-correction
216-attention-center
Expand Down
1 change: 1 addition & 0 deletions .ci/ignore_treon_mac.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
108-gpu-device
117-model-server
122-quantizing-model-with-accuracy-control
127-big-transfer-quantization
204-segmenter-semantic-segmentation
216-attention-center
220-cross-lingual-books-alignment
Expand Down
1 change: 1 addition & 0 deletions .ci/ignore_treon_win.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
108-gpu-device
117-model-server
122-quantizing-model-with-accuracy-control
127-big-transfer-quantization
204-segmenter-semantic-segmentation
216-attention-center
220-cross-lingual-books-alignment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
}
],
"source": [
"%pip uninstall -q -y openvino-dev openvino openvino-nightly\n",
"%pip install -q \"openvino-nightly\" \"nncf>=2.7.0\" \"tensorflow-hub>=0.15.0\" \"tensorflow_datasets\"\n",
"%pip install -q \"scikit-learn>=1.3.2\""
]
Expand Down Expand Up @@ -707,7 +708,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.11.0 ('big_transfer_ipynb')",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -721,7 +722,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.0"
"version": "3.8.10"
},
"openvino_notebooks": {
"imageUrl": "",
Expand All @@ -735,13 +736,19 @@
"tasks": []
}
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "374b2cdb0125ad729a0bf7d184e929e9a00ea95c1808fc9bf693319fefdaf0d2"
}
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
35 changes: 2 additions & 33 deletions notebooks/280-depth-anything/280-depth-anything.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"%cd Depth-Anything\n",
"\n",
"%pip install -q \"openvino>=2023.3.0\" \n",
"%pip install -q \"typing-extensions>=4.9.0\" eval-type-backport\n",
"%pip install -q \"gradio-imageslider<0.0.18\"; python_version <= \"3.9\" \n",
"%pip install -q -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu"
]
Expand Down Expand Up @@ -883,39 +884,7 @@
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {
"8cc651485ea14faa8c8e7c5c72feb14e": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "DescriptionStyleModel",
"state": {
"description_width": ""
}
},
"e2b8d71ff91544ab8cf9cfb396bd02a8": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {}
},
"e9a078ac664b4caa86d5c247a11898a6": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "DropdownModel",
"state": {
"_options_labels": [
"CPU",
"GPU.0",
"GPU.1",
"AUTO"
],
"description": "Device:",
"index": 3,
"layout": "IPY_MODEL_e2b8d71ff91544ab8cf9cfb396bd02a8",
"style": "IPY_MODEL_8cc651485ea14faa8c8e7c5c72feb14e"
}
}
},
"state": {},
"version_major": 2,
"version_minor": 0
}
Expand Down

0 comments on commit a749049

Please sign in to comment.