Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AgML 0.7.1 Changes #71

Merged
merged 48 commits into from
Feb 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
89b4b77
Added Grape bunch object detection dataset
naitikjain3071 Oct 17, 2024
1f324ae
Updated readme
naitikjain3071 Oct 18, 2024
3cbb914
Changes for plant_doc_detection
naitikjain3071 Oct 18, 2024
e7f4d74
Fixed the plant doc detection issues
naitikjain3071 Oct 18, 2024
6542302
Added new dataset - Cauliflower segmentation (Semantic Segmentation)
naitikjain3071 Oct 20, 2024
efb5252
fixed setup.py for windows; force lf line endings
smbanx Oct 22, 2024
8e582e8
added helios files for radiation
smbanx Oct 24, 2024
c315145
added conda environment file for dependencies
smbanx Oct 30, 2024
2fd2771
fixed generate_manual_data to work with radiation script
smbanx Oct 30, 2024
04b9d25
fixed environment.yml; other minor changes
smbanx Nov 9, 2024
40bbca6
improved path variables
smbanx Nov 9, 2024
0fe5091
Added strawberry_detection_2023 strawberry_detection_2022 almond_harv…
naitikjain3071 Nov 13, 2024
934eb9b
Updated dataset - almond_harvest_2021 and almond_bloom_2023
naitikjain3071 Nov 13, 2024
ddeca32
Merge pull request #59 from Project-AgML/sean-main
amogh7joshi Nov 18, 2024
f0fb6ae
Add format and linter (#62)
lalmei Nov 28, 2024
02b0f61
add documentaiton config init (#63)
lalmei Nov 30, 2024
b91b639
release draft fix (#64)
lalmei Dec 2, 2024
c43410d
docs:hot-fix (#65)
lalmei Dec 3, 2024
9496fc1
fix lesser filter
lalmei Dec 4, 2024
f0942df
docs:hot-fix
lalmei Dec 2, 2024
4c59a87
allow config folder to change
lalmei Dec 3, 2024
52e515c
test with a temporary config folder
lalmei Dec 3, 2024
0f5149c
format fixes
lalmei Dec 5, 2024
f318638
move images to assets.
lalmei Dec 5, 2024
471248b
Added GEMINI Flower, Leaf, Pod Datasets
naitikjain3071 Jan 21, 2025
18fdfc9
Added GEMINI Plant Detection Dataset
naitikjain3071 Jan 24, 2025
44e50b3
Added Paddy Disease Classification Dataset
naitikjain3071 Feb 1, 2025
24e37ce
Added Onion Leaf Classification Dataset
naitikjain3071 Feb 2, 2025
49fe7a8
Added Chilli Leaf Classification dataset
naitikjain3071 Feb 2, 2025
390e48d
Added Orange Leaf Disease Classification, Papaya Leaf Disease Classif…
naitikjain3071 Feb 3, 2025
ffc55cb
Added arabica_coffee_leaf_disease_classification dataset
naitikjain3071 Feb 3, 2025
c82cbd5
Added Banana Leaf disease classification dataset
naitikjain3071 Feb 3, 2025
cccc9b4
Coconut Tree Disease Classification dataset
naitikjain3071 Feb 3, 2025
b3b80b8
Added Rice Leaf Disease Classification dataset
naitikjain3071 Feb 3, 2025
241cd98
Added Tea Leaf Disease Classification Dataset
naitikjain3071 Feb 3, 2025
c5ffe38
Added Betel Leaf Disease Dataset
naitikjain3071 Feb 4, 2025
5cb78e6
Added Java Plum leaf disease dataset
naitikjain3071 Feb 4, 2025
47fead2
Added Cucumber disease and Sunflower disease dataset
naitikjain3071 Feb 6, 2025
a6b7697
Fixed the suggested changes by Amogh
naitikjain3071 Feb 7, 2025
775a744
Updated ag tasks for new datasets
amogh7joshi Feb 7, 2025
f940c8b
Fix README, update locations for certain datasets
amogh7joshi Feb 8, 2025
0896378
Added world map, updated README
amogh7joshi Feb 8, 2025
f4a6670
fix README
amogh7joshi Feb 8, 2025
14073f5
Fixed merge conflicts
amogh7joshi Feb 8, 2025
8cf62fb
Update .gitignore
amogh7joshi Feb 8, 2025
dd70b20
my favorite, fixing merge conflicts
amogh7joshi Feb 8, 2025
0bfb3ec
Fix README image paths
amogh7joshi Feb 8, 2025
e9072b7
Fix all figures
amogh7joshi Feb 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.ipynb linguist-vendored
*.ipynb linguist-vendored
* -text
66 changes: 66 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
change-template: "- $TITLE #$NUMBER [@$AUTHOR]"
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.


categories:
- title: "✨ Features"
labels:
- "feature"
- "enhancement"
- "✨"
- "⚡️"
- title: "📦 Dependencies Changes":
labels:
- "dependency"
- "deps"
- "📦"
- title: "🐛 Bug Fixes"
labels:
- "fix"
- "bugfix"
- "bug"
- "🐛"
- title: "📚 Documentation"
labels:
- "documentation"
- "docs"
- "📚"
- title: " 🚨 Continous Integration"
labels:
- "testing"
- "test"
- "ci"
- title: " 🔨 Maintance "
labels:
- "Maintenance"
- title: " 💿 Dataset Updates"
labels:
- "dataset"
- "datasets"
- "data"

exclude-labels:
- "changelog: skip"

version-resolver:
major:
labels:
- "major"
minor:
labels:
- "minor"
patch:
labels:
- "patch"
default: patch

template: |

## AgML release v$RESOLVED_VERSION

This version include the following changes

$CHANGES
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: ci

on: [push, pull_request]

jobs:
test:
name: Test - ${{ matrix.python-version }} - ${{matrix.os}}
runs-on: ${{matrix.os}}

strategy:
matrix:
python-version: ["3.11", "3.12"]
os: [ubuntu-latest, macOs-latest]
fail-fast: false

steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"

- name: Check if cache used
if: steps.setup-uv.outputs.cache-hit == 'true'
run: echo "Cache was restored"

- name: Set up python env
run: |
uv venv --python ${{ matrix.python-version }}
uv sync --dev

- name: Run pre-commit
continue-on-error: true
run: make pre-commit

- name: Run tests
# For example, using `pytest`
run: make test
61 changes: 61 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: docs
on: [push, pull_request]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false


jobs:
deploy:
environment:
name: documenation
url: ${{steps.deployement.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"

- name: Check if cache used
if: steps.setup-uv.outputs.cache-hit == 'true'
run: echo "Cache was restored"

- run: uv sync --only-group docs

- run: uv run mkdocs build --config-file config/mkdocs.yml

# - run: uv run mkdocs gh-deploy --force --config-file config/mkdocs.yml

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'site/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
40 changes: 40 additions & 0 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Update release draft

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
- dev
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
# pull_request_target event is required for autolabeler to support PRs from forks
# pull_request_target:
# types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
# (Optional) GitHub Enterprise requires GHE_HOST variable set
#- name: Set GHE_HOST
# run: |
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV

# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v6
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
# disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ agml/models/training/*.log
agml/models/training/*.err
agml/models/training/*.out
agml/models/training/*.csv
.*/
# .*/
/
*.pptx
.ruff_cache
test*.*
image*.png
.challenges
.paper
74 changes: 74 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at <>. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
Loading
Loading