CropCode checkpoints
Weights of the models behind the paper's results, one folder per run, in the layout the training and evaluation code reads (https://anonymous.4open.science/r/CropCode). From the root of the code repository:
hf download anonymoussubmission257/CropCode-checkpoints --include "outputs/*" --local-dir .
and every command in the code README that names outputs/<run>/... runs as written. For inference only, with
samples and a standalone script, see https://huggingface.co/anonymoussubmission257/CropCode.
Each run folder holds the run's config.json (every constructor setting the loaders
read) and the checkpoint, which contains only the model weights (model_state_dict, fp32) and the epoch.
All models are ViT-Base (114 M parameters).
| species | checkpoint | epoch | what it is | size |
|---|---|---|---|---|
| sorghum | outputs/4m_pretrain_15k_d2_sink/checkpoints/checkpoint_epoch_1000.pth |
1000 | Stage 1: masked pretraining on all four streams (the pretrained / headline model) | 457 MB |
| sorghum | outputs/4m_distill_15k_all_d2/best_model.pth |
100 | Stage 2: the distilled generalist (any single stream in) | 457 MB |
| sorghum | outputs/sorghum_row_ft/checkpoints/checkpoint_epoch_100.pth |
100 | Stage 3: row-occlusion fine-tuning on simulated rows | 457 MB |
| sorghum | outputs/sorghum_row_iso/checkpoints/checkpoint_epoch_100.pth |
100 | Isolated control (same schedule as Stage 3, isolated plants) | 457 MB |
| sorghum | outputs/sorghum_real_ft/best_model.pth |
14 | Row fine-tuned model further trained on rows of real plants (Table 3) | 457 MB |
| maize | outputs/maize_4m_pretrain_15k_d2/checkpoints/checkpoint_epoch_1000.pth |
1000 | Stage 1: masked pretraining on all four streams (the pretrained / headline model) | 457 MB |
| maize | outputs/maize_distill_e1_d2/best_model.pth |
100 | Stage 2: the distilled generalist (any single stream in) | 457 MB |
| maize | outputs/maize_row_ft_e1/checkpoints/checkpoint_epoch_100.pth |
100 | Stage 3: row-occlusion fine-tuning on simulated rows | 457 MB |
| maize | outputs/maize_row_iso_e1/checkpoints/checkpoint_epoch_100.pth |
100 | Isolated control (same schedule as Stage 3, isolated plants) | 457 MB |
| maize | outputs/maize_real_ft/best_model.pth |
12 | Row fine-tuned model further trained on rows of real plants (Table 3) | 457 MB |
| maize | outputs/maize_real_ft_f1000/best_model.pth |
26 | Row fine-tuned model further trained on the field rows (Table S21, Figs. S4 / S10) | 457 MB |
| sorghum | outputs/sorghum_real_ft_f1000/best_model.pth |
27 | Row fine-tuned model further trained on the field rows (Table S21) | 457 MB |
| sorghum | outputs/sorghum_real_ft_f1000_count/best_model.pth |
24 | The same with leaf-slot training: writes a leaf count (Table S21) | 457 MB |
| sorghum | outputs/sorghum_real_ft_f1000_count2/best_model.pth |
26 | The same with leaf-slot training and single-stream batches (Tables S21 / S22, Figs. S5 / S11) | 457 MB |
Example (sorghum, row fine-tuned model on the simulated test rows):
python eval/eval_row.py --species sorghum --run sorghum_row_ft --ckpt checkpoints/checkpoint_epoch_100.pth --split test
Integrity: sha256sum -c SHA256SUMS.
License
Apache License 2.0; see LICENSE.