linhaotong commited on
Commit ·
6f3768a
1
Parent(s): 5ceac46
update transformers doc
Browse files
README.md
CHANGED
|
@@ -13,20 +13,10 @@ Prompt Depth Anything is a high-resolution and accurate metric depth estimation
|
|
| 13 |
- A scalable data pipeline is introduced to train the method.
|
| 14 |
- Prompt Depth Anything benefits downstream applications, including 3D reconstruction and generalized robotic grasping.
|
| 15 |
|
| 16 |
-
## Installation
|
| 17 |
-
|
| 18 |
-
```bash
|
| 19 |
-
git clone https://github.com/DepthAnything/PromptDA.git
|
| 20 |
-
cd PromptDA
|
| 21 |
-
pip install -r requirements.txt
|
| 22 |
-
pip install -e .
|
| 23 |
-
```
|
| 24 |
|
| 25 |
## Usage
|
| 26 |
|
| 27 |
```python
|
| 28 |
-
# from promptda.promptda import PromptDA
|
| 29 |
-
# from promptda.utils.io_wrapper import load_image, load_depth, save_depth
|
| 30 |
import requests
|
| 31 |
from PIL import Image
|
| 32 |
from transformers import PromptDepthAnythingForDepthEstimation, PromptDepthAnythingImageProcessor
|
|
|
|
| 13 |
- A scalable data pipeline is introduced to train the method.
|
| 14 |
- Prompt Depth Anything benefits downstream applications, including 3D reconstruction and generalized robotic grasping.
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
## Usage
|
| 18 |
|
| 19 |
```python
|
|
|
|
|
|
|
| 20 |
import requests
|
| 21 |
from PIL import Image
|
| 22 |
from transformers import PromptDepthAnythingForDepthEstimation, PromptDepthAnythingImageProcessor
|