phenocamsnow
Automatic snow classification for Phenocam images.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.3%) to scientific vocabulary
Repository
Automatic snow classification for Phenocam images.
Basic Info
- Host: GitHub
- Owner: jasonjewik
- License: mit
- Language: Python
- Default Branch: main
- Size: 57.5 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 2
- Releases: 0
Metadata Files
README.md
PhenoCamSnow
PhenoCamSnow is a Python package for quickly building deep learning models to classify PhenoCam images.
Installation
PhenoCamSnow supports Python 3.7+ and can be installed via pip:
console
pip install phenocam-snow
Optional dependencies for development and documentation purposes can be installed by specifying the extras [dev] and [docs], repsectively.
Example Usage
The following code snippets show how to train and evaluate a model on classifying images from the canadaojp site into "snow", "no snow", and "too dark".
console
python -m phenocam_snow.train \
canadaojp \
--model resnet18 \
--learning_rate 5e-4 \
--weight_decay 0.01 \
--new \
--n_train 120 \
--n_test 30 \
--classes snow no_snow too_dark
This will print out the file path of the best model, which can be substituted into the next command.
console
python -m phenocam_snow.predict \
canadaojp \
[path/to/best_model.ckpt] \
resnet18 \
--categories snow no_snow too_dark
--url https://phenocam.nau.edu/data/latest/canadaojp.jpg
Advanced usage details can be found in the documentation.
Citation
If you use PhenoCamSnow for your work, please see CITATION.cff or use the citation prompt provided by GitHub in the sidebar.
Acknowledgements
Owner
- Name: Jason Jewik
- Login: jasonjewik
- Kind: user
- Location: California, United States of America
- Website: https://jasonjewik.github.io
- Twitter: jasonjewik
- Repositories: 43
- Profile: https://github.com/jasonjewik
Interested in tech that can save our planet. 🤖🌱 Search and AI at Box.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: PhenoCamSnow
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Jason
family-names: Jewik
email: jason.jewik@cs.ucla.edu
affiliation: UCLA
repository-code: 'https://github.com/jasonjewik/PhenoCamSnow'
license: MIT
GitHub Events
Total
- Delete event: 1
- Push event: 11
- Pull request event: 1
- Fork event: 1
- Create event: 2
Last Year
- Delete event: 1
- Push event: 11
- Pull request event: 1
- Fork event: 1
- Create event: 2
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 8
- Average time to close issues: N/A
- Average time to close pull requests: 9 minutes
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 6
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- jasonjewik (7)
- allenqluo (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- psf/black stable composite
- numpy *
- pandas >=1.3.1, <=1.3.5
- pillow >=8.3.1, <=9.5.0
- pytorch_lightning >=1.4.0, <=1.9.5
- rich *
- tensorboard *
- torchmetrics >=0.10.0, <=0.11.4
- torchvision >=0.8.1, <=0.14.1