Skip to content

Commit 007572c

Browse files
authored
Merge pull request #3 from Imageomics/feature/doc_use_case
Feature/doc use case
2 parents 59362da + 4456846 commit 007572c

19 files changed

+1678
-11
lines changed

.github/workflows/docs.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Deploy MkDocs to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main, master, feature/doc_use_case ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: '3.11'
19+
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install -r docs-requirements.txt
24+
25+
- name: Build MkDocs site
26+
run: |
27+
mkdocs build --clean --strict
28+
29+
- name: Deploy to GitHub Pages
30+
uses: peaceiris/actions-gh-pages@v4
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: ./site

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ venv.bak/
147147

148148
# mkdocs documentation
149149
/site
150+
site/
150151

151152
# mypy
152153
.mypy_cache/
@@ -195,4 +196,6 @@ cython_debug/
195196
.cursorignore
196197
.cursorindexingignore
197198

198-
jobs/
199+
jobs/
200+
201+
docs/neon_beetles_data/

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11

22
<table width="100%">
33
<tr>
4-
<td align="left" width="120">
5-
<img src="docs/imgs/Imageomics_logo_butterfly.png" alt="OpenCut Logo" width="100" />
4+
<td align="left" width="100">
5+
<img src="docs/imgs/Imageomics_logo_butterfly.png" alt="Imageomics Logo" width="100" />
6+
</td>
7+
<td align="left" width="100">
8+
<img src="docs/imgs/full_ABC_logo_for_web_and_digital.png" alt="ABC Logo" width="100" />
69
</td>
710
<td align="right">
811
<h1>HPC-Inference</h1>
@@ -75,6 +78,11 @@ uv pip install -e ".[all]" # Install dependency for all use cases
7578

7679
### Use Cases Guide
7780

81+
#### `ImageFolderDataset`
82+
For a comprehensive tutorial on using the `ImageFolderDataset` class, please see this notebook: [ImageFolderDataset Guide](docs/ImageFolderDataset_guide.ipynb).
83+
84+
This guide demonstrates working with the [NEON Beetle dataset](https://huggingface.co/datasets/imageomics/2018-NEON-beetles) and covers basic usage, validation, multi-model preprocessing, distributed processing, and performance optimization.
85+
7886
Use case 1:
7987
- Image Folder Dataset
8088
- Parquet Dataset
@@ -93,3 +101,7 @@ Use case 5:
93101
- Grid search profiling
94102

95103
## Project Structure
104+
105+
## Acknowledgement
106+
107+
This project is a joint effort between the [Imageomics Institute](https://imageomics.osu.edu/) and the [ABC Global Center](https://www.biodiversityai.org/).

docs-requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mkdocs>=1.5.0
2+
mkdocs-material>=9.0.0
3+
mkdocstrings[python]>=0.20.0
4+
pymdown-extensions>=10.0.0

0 commit comments

Comments
 (0)