Theo Viel
commited on
Commit
·
8a72e26
1
Parent(s):
16f0478
update doc
Browse files
README.md
CHANGED
|
@@ -68,7 +68,7 @@ The **NeMo Retriever Page Elements v3** model is designed for automating extrac
|
|
| 68 |
**Architecture Type**: YOLOX <br>
|
| 69 |
**Network Architecture**: DarkNet53 Backbone \+ FPN Decoupled head (one 1x1 convolution \+ 2 parallel 3x3 convolutions (one for the classification and one for the bounding box prediction). YOLOX is a single-stage object detector that improves on Yolo-v3. <br>
|
| 70 |
**This model was developed based on the Yolo architecture** <br>
|
| 71 |
-
**Number of model parameters**:
|
| 72 |
|
| 73 |
### Input
|
| 74 |
|
|
@@ -146,10 +146,10 @@ with torch.inference_mode():
|
|
| 146 |
print(preds)
|
| 147 |
|
| 148 |
# Post-processing
|
| 149 |
-
|
| 150 |
|
| 151 |
# Plot
|
| 152 |
-
boxes_plot, confs = reformat_for_plotting(
|
| 153 |
|
| 154 |
plt.figure(figsize=(15, 10))
|
| 155 |
plot_sample(img, boxes_plot, confs, labels=model.labels)
|
|
@@ -164,12 +164,11 @@ If you wish to do additional training, [refer to the original repo](https://gith
|
|
| 164 |
Additional post-processing might be required to use the model as part of a data extraction pipeline.
|
| 165 |
We provide examples in the notebook `Demo.ipynb`.
|
| 166 |
|
|
|
|
| 167 |
### Software Integration
|
| 168 |
|
| 169 |
-
<!---
|
| 170 |
**Runtime Engine(s):**
|
| 171 |
- **NeMo Retriever Page Elements v3** NIM
|
| 172 |
-
--->
|
| 173 |
|
| 174 |
**Supported Hardware Microarchitecture Compatibility [List in Alphabetic Order]:**
|
| 175 |
- NVIDIA Ampere
|
|
@@ -181,6 +180,7 @@ We provide examples in the notebook `Demo.ipynb`.
|
|
| 181 |
|
| 182 |
The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.
|
| 183 |
This AI model can be embedded as an Application Programming Interface (API) call into the software environment described above.
|
|
|
|
| 184 |
|
| 185 |
## Model Version(s):
|
| 186 |
|
|
|
|
| 68 |
**Architecture Type**: YOLOX <br>
|
| 69 |
**Network Architecture**: DarkNet53 Backbone \+ FPN Decoupled head (one 1x1 convolution \+ 2 parallel 3x3 convolutions (one for the classification and one for the bounding box prediction). YOLOX is a single-stage object detector that improves on Yolo-v3. <br>
|
| 70 |
**This model was developed based on the Yolo architecture** <br>
|
| 71 |
+
**Number of model parameters**: 5.4e7 <br>
|
| 72 |
|
| 73 |
### Input
|
| 74 |
|
|
|
|
| 146 |
print(preds)
|
| 147 |
|
| 148 |
# Post-processing
|
| 149 |
+
boxes, labels, scores = postprocess_preds_page_element(preds, model.thresholds_per_class, model.labels)
|
| 150 |
|
| 151 |
# Plot
|
| 152 |
+
boxes_plot, confs = reformat_for_plotting(boxes, labels, scores, img.shape, model.num_classes)
|
| 153 |
|
| 154 |
plt.figure(figsize=(15, 10))
|
| 155 |
plot_sample(img, boxes_plot, confs, labels=model.labels)
|
|
|
|
| 164 |
Additional post-processing might be required to use the model as part of a data extraction pipeline.
|
| 165 |
We provide examples in the notebook `Demo.ipynb`.
|
| 166 |
|
| 167 |
+
<!---
|
| 168 |
### Software Integration
|
| 169 |
|
|
|
|
| 170 |
**Runtime Engine(s):**
|
| 171 |
- **NeMo Retriever Page Elements v3** NIM
|
|
|
|
| 172 |
|
| 173 |
**Supported Hardware Microarchitecture Compatibility [List in Alphabetic Order]:**
|
| 174 |
- NVIDIA Ampere
|
|
|
|
| 180 |
|
| 181 |
The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.
|
| 182 |
This AI model can be embedded as an Application Programming Interface (API) call into the software environment described above.
|
| 183 |
+
--->
|
| 184 |
|
| 185 |
## Model Version(s):
|
| 186 |
|