@@ -12,11 +12,29 @@ backend, and therefore runs **on the CPU or GPU**.
1212Cornucopia is * intended* to be used on the GPU for on-line augmentation.
1313A quick [ benchmark] ( docs/examples/benchmark.ipynb ) of affine and elastic augmentation
1414shows that while cornucopia is slower than [ TorchIO] ( https://github.com/fepegar/torchio )
15- on the CPU (~ 3s vs 1s), it is greatly accelerated on the GPU (~ 50ms).
16-
17- Since gradients are not expected to backpropagate through its layers, it can
18- theoretically be used within any dataloader pipeline,
19- independent of the downstream learning framework (pytorch, tensorflow, jax, ...).
15+ on the CPU (~ 3s vs 1s), it is greatly accelerated on the GPU (~ 50ms). Note that
16+ a cornucopia adapter will be available in
17+ [ TorchIO v2] ( https://docs.torchio.org/2.0/reference/transforms/cornucopia_adapter/?h=corn ) ,
18+ allowing seamless intergration of cornucopia transformations with TorchIO pipelines.
19+
20+
21+
22+ Since version 0.4, all layers are differentiable, allowing augmentation
23+ parameters to be optimized via backpropagation.
24+ The ** Learn2Synth** framework examplifies this application:
25+
26+ - 📄 [ Paper] ( https://openaccess.thecvf.com/content/ICCV2025/papers/Hu_Learn2Synth_Learning_Optimal_Data_Synthesis_Using_Hypergradients_for_Brain_Image_ICCV_2025_paper.pdf )
27+ - 💻 [ Code] ( https://github.com/HuXiaoling/Learn2Synth )
28+ - 📖 Bibtex
29+ ``` bibtex
30+ @inproceedings{hu2025learn2synth,
31+ title={Learn2Synth: Learning Optimal Data Synthesis Using Hypergradients for Brain Image Segmentation},
32+ author={Hu, Xiaoling and Zeng, Xiangrui and Puonti, Oula and Iglesias, Juan Eugenio and Fischl, Bruce and Balbastre, Ya{\"e}l},
33+ booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
34+ pages={20368--20378},
35+ year={2025}
36+ }
37+ ```
2038
2139## Installation
2240
0 commit comments