budai4medtech / xfetus

xfetus -- A library for ultrasound fetal imaging synthesis using techniques from GANs, transformers, and diffusion models.
6 stars 1 forks source link

consider to use ptflops #6

Open mxochicale opened 1 year ago

mxochicale commented 1 year ago

Consider to use Flops counting tool for neural networks in pytorch framework https://github.com/sovrasov/flops-counter.pytorch

Measuring tools: when no other source was available or reliable, we used the ptflops library [36] or similar tools to calculate the model’s FLOPs and parameters (when the implementation is available). "Desislavov, Radosvet, Fernando Martínez-Plumed, and José Hernández-Orallo. "Trends in AI inference energy consumption: Beyond the performance-vs-parameter laws of deep learning." Sustainable Computing: Informatics and Systems 38 (2023): 100857 https://doi.org/10.1016/j.suscom.2023.100857 ."

mxochicale commented 1 year ago

Consider to use https://github.com/lfwa/carbontracker

carbontracker is a tool for tracking and predicting the energy consumption and carbon footprint of training deep learning models as described in Anthony et al. (2020).