Update README.md
Browse files
README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: other
|
| 3 |
-
language:
|
| 4 |
-
- en
|
| 5 |
-
pipeline_tag: object-detection
|
| 6 |
-
tags:
|
| 7 |
-
- image
|
| 8 |
-
- detection
|
| 9 |
-
- pdf
|
| 10 |
-
- ingestion
|
| 11 |
-
- yolox
|
| 12 |
-
---
|
| 13 |
# Nemoretriever Page Element v3
|
| 14 |
|
| 15 |
## Model Overview
|
|
@@ -98,8 +98,24 @@ Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated sys
|
|
| 98 |
|
| 99 |
### Usage
|
| 100 |
|
|
|
|
| 101 |
|
| 102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
|
| 104 |
```
|
| 105 |
import torch
|
|
@@ -136,6 +152,9 @@ plot_sample(img, boxes_plot, confs, labels=model.labels)
|
|
| 136 |
plt.show()
|
| 137 |
```
|
| 138 |
|
|
|
|
|
|
|
|
|
|
| 139 |
### Software Integration
|
| 140 |
|
| 141 |
<!---
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pipeline_tag: object-detection
|
| 6 |
+
tags:
|
| 7 |
+
- image
|
| 8 |
+
- detection
|
| 9 |
+
- pdf
|
| 10 |
+
- ingestion
|
| 11 |
+
- yolox
|
| 12 |
+
---
|
| 13 |
# Nemoretriever Page Element v3
|
| 14 |
|
| 15 |
## Model Overview
|
|
|
|
| 98 |
|
| 99 |
### Usage
|
| 100 |
|
| 101 |
+
The model requires torch, and the custom code available in this repository.
|
| 102 |
|
| 103 |
+
1. Clone the repository
|
| 104 |
+
|
| 105 |
+
- Make sure git-lfs is installed (https://git-lfs.com)
|
| 106 |
+
```
|
| 107 |
+
git lfs install
|
| 108 |
+
```
|
| 109 |
+
- Using https
|
| 110 |
+
```
|
| 111 |
+
git clone https://huggingface.co/nvidia/nemoretriever-page-elements-v3
|
| 112 |
+
```
|
| 113 |
+
- Or using ssh
|
| 114 |
+
```
|
| 115 |
+
git clone git@hf.co:nvidia/nemoretriever-page-elements-v3
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
2. Run the model using the following code:
|
| 119 |
|
| 120 |
```
|
| 121 |
import torch
|
|
|
|
| 152 |
plt.show()
|
| 153 |
```
|
| 154 |
|
| 155 |
+
Note that this repository only provides minimal code to infer the model.
|
| 156 |
+
If you wish to do additional training, [refer to the original repo](https://github.com/Megvii-BaseDetection/YOLOX).
|
| 157 |
+
|
| 158 |
### Software Integration
|
| 159 |
|
| 160 |
<!---
|