'dict' object has no attribute 'depth'
#2
by
n3ura
- opened
README.md
CHANGED
@@ -47,7 +47,7 @@ image = Image.open(requests.get(url, stream=True).raw)
|
|
47 |
|
48 |
# inference
|
49 |
outputs = depth_estimator(image)
|
50 |
-
depth = outputs
|
51 |
```
|
52 |
For more code examples, we refer to the [documentation](https://huggingface.co/transformers/main/model_doc/zoedepth.html#).
|
53 |
|
|
|
47 |
|
48 |
# inference
|
49 |
outputs = depth_estimator(image)
|
50 |
+
depth = outputs['depth']
|
51 |
```
|
52 |
For more code examples, we refer to the [documentation](https://huggingface.co/transformers/main/model_doc/zoedepth.html#).
|
53 |
|