User Guide
API Reference
PhenoCamImageDataset
PhenoCamImageDataset.__init__()
PhenoCamDataModule
PhenoCamDataModule.__init__()
PhenoCamDataModule.get_categories()
PhenoCamDataModule.prepare_data()
PhenoCamDataModule.setup()
PhenoCamResNet
PhenoCamResNet.__init__()
train_model_with_new_data()
train_model_with_existing_data()
classify_online()
classify_offline()
load_model_from_file()
run_model_offline()
run_model_online()
get_site_names()
get_site_dates()
download()
download_from_log()
label_images_via_subdir()
read_labels()
Loads pre-trained ResNet for fine-tuning.
resnet (str) – The ResNet variant to use.
n_classes (int) – The number of classes
lr (float) – The learning rate. Default is 1e-5.
weight_decay (float) – The weight decay to use. Default is 0.1.