GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PRBonn/LeafSSL: Code for Self-Supervised Representation Learning for Few-shot Plant Variety Classification

BranchesTags
Open more actions menu

Latest commit

 

History

1 Commit
1 Commit

Folders and files

NameName
Last commit message
Last commit date
LeafSSL
LeafSSL
 
 
dinov3 @ 91ffb68
dinov3 @ 91ffb68
 
 
scripts
scripts
 
 
splits
splits
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
README.md
README.md
 
 
setup.py
setup.py
 
 

Repository files navigation

Self-Supervised Representation Learning for Few-Shot Plant Variety Classification

Paul Nelson Becker · Elias Marks · Yue Linn Chong · Theodor Kapler · Jens Behley · Louis Bonerath · Cyrill Stachniss

Paper | Dataset

Overview

Abstract

[Click to expand] Robots that can monitor and manage fields have the potential to change agriculture. By allowing individual plant treatment, they can enable growing mixed varieties on agricultural fields, increasing resilience, biodiversity, and soil quality. We study few-shot plant variety classification using self-supervised representations to reduce the need for labeled data. Using zero-shot segmentation, we adapt multi-view self-supervised learning by positioning image crops on leaves, based on the observation that discriminative features between plant varieties are often concentrated on their leaves. We introduce a new image dataset containing 98 sugar beet varieties enabling the study of variety classification. On unseen varieties, our method achieves high accuracies, outperforming existing self-supervised and foundation-model representations and substantially narrowing the gap to supervised representations. Our results also suggest that for self-supervised representations for few-shot fine-grained recognition, where views are placed can be more important than how views are augmented.

Installation

1. Clone the repository

git clone [email protected]:PRBonn/LeafSSL.git
cd LeafSSL
git init submodule

2. Create conda environment

3. Download Sugarbeet Variety Images

bash ./scripts/get_data.sh

4. Download our checkpoints [Optional]

bash ./scripts/get_weights.sh

5. Request DinoV3 checkpoint [Optional]

Train

ViT-S from scratch

python -m LeafSSL.train -c LeafSSL/config/sigreg_from_scratch.yaml

ViT-L pretrained

Edit the config file to point towards your local DinoV3 ViT-L checkpoint.

python -m LeafSSL.train -c LeafSSL/config/sigreg_dinov3_lora.yaml 

Test

Run Ablation on Val Set

python -m LeafSSL.test -c LeafSSL/config/test/plant_evaluation_full_val.yaml

Evaluate on Test Set

python -m LeafSSL.test -c LeafSSL/config/test/plant_evaluation_full_test.yaml

Citation

If this project is useful to your academic work, please cite:

@inproceedings{becker2027wacv,
title = {{Self-Supervised Representation Learning for Few-shot Plant Variety Classification}},
author = {P.N. Becker and E.A. Marks and Y.-L. Chong and T. Kapler and J. Behley and L. Wiesmann and C. Stachniss},
year = 2027,
booktitle = wacv
}

Contact

If you have any questions, feel free to contact:

  • Paul Nelson Becker {[email protected]}

About

Code for Self-Supervised Representation Learning for Few-shot Plant Variety Classification

Resources

Readme
Activity
Custom properties

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.