Skip to content

Commit

Permalink
added python docs
Browse files Browse the repository at this point in the history
  • Loading branch information
czaloom committed Dec 12, 2024
1 parent 1cbddaf commit b70c0a3
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 1 deletion.
16 changes: 16 additions & 0 deletions docs/classification/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Documentation

::: valor_lite.classification.Classification
options:
show_root_heading: true
show_source: true

::: valor_lite.classification.DataLoader
options:
show_root_heading: true
show_source: true

::: valor_lite.classification.Evaluator
options:
show_root_heading: true
show_source: true
12 changes: 11 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,17 @@ cd valor
make install
```

# Quick Links
## Quick Links

- **Documentation**
- Classification
- [DataLoader](classification/dataloader.md)
- [Metrics](classification/metrics.md)
- Object Detection
- [Metrics](object_detection/metrics.md)
- Semantic Segmentation
- [Metrics](semantic_segmentation/metrics.md)
- Text Generation
- [Metrics](text_generation/metrics.md)
- **[Example Notebooks](https://github.com/Striveworks/valor/blob/main/examples/)**: Collection of descriptive Jupyter notebooks giving examples of how to evaluate model performance using Valor.
- **[Contributing and Development](contributing.md)**: Explains how you can build on and contribute to Valor.
31 changes: 31 additions & 0 deletions docs/object_detection/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Documentation

::: valor_lite.object_detection.BoundingBox
options:
show_root_heading: true
show_source: true

::: valor_lite.object_detection.Polygon
options:
show_root_heading: true
show_source: true

::: valor_lite.object_detection.Bitmask
options:
show_root_heading: true
show_source: true

::: valor_lite.object_detection.Detection
options:
show_root_heading: true
show_source: true

::: valor_lite.object_detection.DataLoader
options:
show_root_heading: true
show_source: true

::: valor_lite.object_detection.Evaluator
options:
show_root_heading: true
show_source: true
21 changes: 21 additions & 0 deletions docs/semantic_segmentation/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Documentation

::: valor_lite.semantic_segmentation.Bitmask
options:
show_root_heading: true
show_source: true

::: valor_lite.semantic_segmentation.Segmentation
options:
show_root_heading: true
show_source: true

::: valor_lite.semantic_segmentation.DataLoader
options:
show_root_heading: true
show_source: true

::: valor_lite.semantic_segmentation.Evaluator
options:
show_root_heading: true
show_source: true
16 changes: 16 additions & 0 deletions docs/text_generation/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Documentation

::: valor_lite.text_generation.Context
options:
show_root_heading: true
show_source: true

::: valor_lite.text_generation.QueryResponse
options:
show_root_heading: true
show_source: true

::: valor_lite.text_generation.Evaluator
options:
show_root_heading: true
show_source: true
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ extra_javascript:
nav:
- Overview: "index.md"
- Classification:
- Documentation: "classification/documentation.md"
- Metrics: "classification/metrics.md"
- Object Detection:
- Documentation: "object_detection/documentation.md"
- Metrics: "object_detection/metrics.md"
- Semantic Segmentation:
- Documentation: "semantic_segmentation/documentation.md"
- Metrics: "semantic_segmentation/metrics.md"
- Text Generation:
- Documentation: "text_generation/documentation.md"
- Metrics: "text_generation/metrics.md"
- Example Notebooks: "https://github.com/Striveworks/valor/blob/main/examples/"
- Contributing & Development: "contributing.md"
Expand Down

0 comments on commit b70c0a3

Please sign in to comment.