openvinotoolkit / openvino_notebooks

📚 Jupyter notebook tutorials for OpenVINO™
Apache License 2.0
2.19k stars 762 forks source link

Add DepthAnything V2 #2135

Closed sbalandi closed 4 weeks ago

sbalandi commented 4 weeks ago

CVS-144660, CVS-144661

review-notebook-app[bot] commented 4 weeks ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

review-notebook-app[bot] commented 4 weeks ago

View / edit / reply to this conversation on ReviewNB

eaidova commented on 2024-06-20T18:16:44Z ----------------------------------------------------------------

why Run model inference twice?


review-notebook-app[bot] commented 4 weeks ago

View / edit / reply to this conversation on ReviewNB

eaidova commented on 2024-06-20T18:16:45Z ----------------------------------------------------------------

Line #3.    %pip install -q "openvino>=2023.3.0" "datasets>=2.14.6" "nncf" "tqdm"

openvino>=2024.2.0 nncf>=2.11.0


review-notebook-app[bot] commented 4 weeks ago

View / edit / reply to this conversation on ReviewNB

eaidova commented on 2024-06-20T18:16:45Z ----------------------------------------------------------------

Line #85.    # Read more in the docs: https://gradio.app/docs/

please remove cell output


eaidova commented 4 weeks ago

@sbalandi docker run failed with:

 -> 1246 magic_number = pickle_module.load(f, **pickle_load_args)
   1247 if magic_number != MAGIC_NUMBER:
   1248     raise RuntimeError("Invalid magic number; corrupt file?")

UnpicklingError: invalid load key, 'v'.

it usually means that you trying to load checkpoint saved with newer torch version with old pytorch. Could you please check lower bound for pytorch in DepthAnythingV2?