Image Classification
DeepForest
Safetensors
remote-sensing
aerial-imagery
forest
tree-mortality
ecology
model_hub_mixin
pytorch_model_hub_mixin
cropmodel-deadtrees / config.json
bw4sz's picture
Retrained Alive/Dead model: deadtrees.earth pretraining + NEON hand labels + NEON field-survey crowns
fa0ea2d verified
Raw History Blame
3.13 kB
{
"accelerator": "auto",
"annotations_xml": null,
"architecture": "retinanet",
"batch_size": 1,
"cropmodel": {
"architecture": "resnet50",
"balance_classes": false,
"batch_size": 128,
"expand": 0,
"label_dict": {
"Alive": 0,
"Dead": 1
},
"lr": 0.0001,
"normalize": null,
"num_workers": 8,
"resize": [
224,
224
],
"resize_interpolation": "bilinear",
"scheduler": {
"params": {
"T_max": 10,
"cooldown": 0,
"eps": 1e-08,
"eta_min": 1e-05,
"factor": 0.5,
"gamma": 0.1,
"lr_lambda": "0.95 ** epoch",
"milestones": [
50,
100
],
"min_lr": 0.0,
"mode": "min",
"patience": 5,
"step_size": 30,
"threshold": 0.0001,
"threshold_mode": "rel"
},
"type": "ReduceLROnPlateau"
}
},
"detections_per_img": 300,
"devices": "auto",
"label_dict": null,
"log_root": "./lightning_logs",
"matmul_precision": "highest",
"model": {
"name": "weecology/deepforest-tree",
"revision": "main"
},
"nms_thresh": 0.05,
"num_classes": null,
"num_nodes": 1,
"patch_overlap": 0.05,
"patch_size": 400,
"path_to_raster": null,
"path_to_rgb": null,
"point": {
"backbone": "pvt_v2_b3",
"count_cls_weight": 1.0,
"density_l1_weight": 0.01,
"density_sigma": 5.0,
"distance_threshold": 10.0,
"enforce_count": true,
"losses": null,
"mae_weight": 1.0,
"nms_distance_thresh": 5.0,
"norm_cood": false,
"num_of_iter_in_ot": 100,
"ot_weight": 0.1,
"score_integration_radius": 5,
"sinkhorn_reg": 1.0
},
"precision": "32-true",
"predict": {
"pin_memory": false
},
"rgb_dir": null,
"score_thresh": 0.1,
"skip_empty": true,
"strategy": "auto",
"sync_batchnorm": false,
"topk_candidates": 1000,
"train": {
"augmentations": [
{
"HorizontalFlip": {
"p": 0.5
}
}
],
"csv_file": null,
"epochs": 1,
"fast_dev_run": false,
"lr": 0.001,
"optimizer": {
"betas": [
0.9,
0.999
],
"momentum": 0.9,
"type": "SGD",
"weight_decay": 0.0
},
"preload_images": false,
"root_dir": null,
"scheduler": {
"params": {
"T_max": 10,
"cooldown": 0,
"eps": 1e-08,
"eta_min": 1e-05,
"factor": 0.1,
"gamma": 0.1,
"lr_lambda": "0.95 ** epoch",
"milestones": [
50,
100
],
"min_lr": 0.0,
"mode": "min",
"patience": 10,
"step_size": 30,
"threshold": 0.0001,
"threshold_mode": "rel"
},
"type": null
},
"validate_coordinates": true
},
"use_distributed_sampler": true,
"validation": {
"augmentations": [],
"csv_file": null,
"iou_threshold": 0.4,
"lr_plateau_target": "val_loss",
"preload_images": false,
"root_dir": null,
"size": null,
"val_accuracy_interval": 20,
"validate_coordinates": true
},
"workers": 0
}