bioRxiv Science⌕ Search

bioRxiv · 10.1101/2023.09.19.558533

Save GPU RAM Usage in Convolutional Layers to Load Huge Images

Abstract

Image recognition models have evolved tremendously. Despite the progress for general images, histopathological images are not easy targets. One of the reasons is that histopathological images can be 100000-200000px in height and width which are often too large for a deep neural network model to handle directly because the RAM of the GPU is limited. Mitigating the obstacle is expected to be a progress in the histopathological image analysis. In this study, we save the RAM consumption in a convolutional layer by allocating only the required data to GPU only when needed and by dividing the calculation into per channel. This RAM Saving Convolutional layer (RSConv) can load larger images than a normal convolutional layer. The code is available at https://github.com/tand826/RAMSavingConv2d.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Ando, T.. 2023-09-22. Save GPU RAM Usage in Convolutional Layers to Load Huge Images. https://doi.org/10.1101/2023.09.19.558533

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

NAE1-Dependent Protein Neddylation Preserves Endothelial Identity and Vascular Integrity

Background: Endothelial dysfunction is a central driver of cardiovascular and inflammatory diseases, yet the post-translational mechanisms that preserve endothelial homeostasis remain incompletely understood. Protein neddylation, the covalent conjugation of a ubiquitin-like modifier, regulates diverse cellular processes, yet its physiological role in the vascular endothelium remains unknown. This study investigated whether protein neddylation is required to preserve endothelial identity and vascular homeostasis. Methods: We generated tamoxifen-inducible endothelial-specific Nae1 knockout mice to inhibit neddylation and combined bulk RNA sequencing, single-cell and single-nucleus transcriptomics, quantitative proteomics, biochemical analyses, and gain- and loss-of-function approaches to define the role of endothelial neddylation in vascular homeostasis and inflammatory injury. Results: Endothelial-specific Nae1 deletion caused rapid mortality associated with vascular leakage, platelet accumulation, inflammation, and multi-organ injury. Multi-omics analyses demonstrated profound loss of endothelial identity, characterized by suppression of core endothelial programs and activation of inflammatory, procoagulant, and pyroptotic pathways. Single-cell analyses revealed progressive endothelial dysfunction culminating in depletion of the endothelial population and remodeling of the vascular niche. Mechanistically, endothelial neddylation deficiency activated gasdermin D (GSDMD)- and gasdermin E (GSDME)-dependent pyroptosis, whereas dual inhibition of GSDMD and GSDME markedly attenuated inflammatory transcriptomic remodeling, vascular injury, hepatocyte death, immune cell infiltration, and platelet accumulation. Translational analyses demonstrated reduced endothelial neddylation in experimental endotoxemia and decreased expression of neddylation pathway components in human atherosclerosis and COVID-19 datasets. Conversely, restoration of endothelial neddylation partially reversed inflammatory endothelial transcriptomic reprogramming in vivo. Conclusions: NAE1-dependent protein neddylation is an essential regulator of endothelial identity and vascular integrity. Loss of endothelial neddylation promotes gasdermin-dependent pyroptosis and thrombo-inflammatory vascular injury, whereas restoration of the neddylation pathway mitigates inflammatory endothelial dysfunction. These findings identify endothelial neddylation as a fundamental mechanism maintaining vascular homeostasis and a potential therapeutic target for cardiovascular and inflammatory diseases.

pathology↗

Multimodal Analysis of Sepsis-induced Cardiomyopathy in a Baboon Model

Sepsis-induced cardiomyopathy (SIC) significantly contributes to sepsis-related morbidity and mortality, necessitating a deeper understanding of its mechanisms. This study used a post-hoc, multimodal approach--including single-nucleus RNA sequencing (snRNA-seq), echocardiography, mitochondrial function, and histopathology--to characterize SIC in a non-human primate model. Archived data and samples from six baboons challenged with 37.5 mg/kg of purified peptidoglycan were analyzed. Vital signs and echocardiography were monitored for 8 hours; the endpoint was survival at 168 hours or euthanasia for irreversible organ failure. Septic shock--defined by hypotension, tachycardia, and elevated lactate--was associated with poor outcomes. Echocardiography showed reduced intravascular volume, contraction, stroke volume, and cardiac index. SnRNA-seq revealed distinct transcriptomic profiles: non-survivors exhibited inflammation, mitochondrial dysfunction, and maladaptive remodeling; survivors showed activation of pathways supporting contraction, metabolism, and repair. Cell-type analysis highlighted metabolic dysfunction in cardiomyocytes, TNF/NF-{kappa}B-driven inflammation in endothelial cells, and stress responses in fibroblasts and pericytes. Mitochondrial analysis showed impaired electron transport and disrupted metabolism. Histopathology revealed inflammation and myofibrillar damage, more severe in non-survivors. This model recapitulates key SIC features and supports mechanistic and therapeutic discovery.

pathology↗

Paracrine Action of Bone Morphogenetic Protein 3 in Pulmonary Arterial Hypertension

BackgroundDespite recent advancements in the management of pulmonary arterial hypertension (PAH), the disease remains devastating, with limited survival. Although the Bone Morphogenetic Protein (BMP) signaling pathway is known to play an important role in PAH, our current understanding of this pathway remains limited. MethodsWe assessed BMP3 levels in the lungs of mice, rats, and pigs with pulmonary hypertension, and in pulmonary vascular cells from human patients with PAH. We performed in vitro studies on human pulmonary artery smooth muscle cells (hPASMCs) and human pulmonary artery endothelial cells (hPAECs) derived from healthy donors and from patients with PAH. We generated mice with global or SMC-specific deletion of BMP3. Recombinant BMP3 protein and adeno-associated viruses (AAV) were used to overexpress BMP3 in two different models of PAH in rodents. Magnetic resonance imaging, cardiac hemodynamics, morphometric, and histological measurements were performed to evaluate the effects of BMP3 on cardiac function and pulmonary vascular remodeling. ResultsBMP3 is predominantly expressed in PASMCs and is downregulated in PAH. In vitro, conditioned medium from siRNA-BMP3-transfected hPASMCs increased hPAECs migration and proliferation, while PASMC-derived BMP3 inhibited PAH-diseased PAEC dysfunction. In both global and SMC-specific BMP3-deficient mice, exposure to a model of PAH exacerbated cardiac and pulmonary vascular remodeling in middle-aged mice. An intraperitoneally injected recombinant BMP3 prevented and reversed PAH in mice. A lung-targeted overexpression of BMP3, via AAV1-BMP3, reversed pulmonary vascular remodeling and inhibited cardiac dysfunction in mice and rats. Mechanistically, BMP3 activated the BMP/Smad1,5,8 pathway, inhibited the TGF-{beta}/Smad2,3 pathway, and decreased the expression of cell cycle genes in hPAECs and in the lungs of BMP3-treated animals with PAH. ConclusionsOur findings provide evidence that BMP3 overexpression attenuates pulmonary vascular remodeling and inhibits cardiac dysfunction by restoring the balance between the TGF-{beta} and BMP pathways through a cell-cell communication mechanism, offering a novel therapeutic pathway for PAH. Clinical PerspectiveO_ST_ABSWhat is New?C_ST_ABSO_LIBMP3 is downregulated in the lungs of mice, rats, and pigs with pulmonary hypertension and in pulmonary artery smooth muscle cells of patients with PAH. C_LIO_LIBMP3 acts as a paracrine factor between pulmonary vascular cells. C_LIO_LIOverexpression of BMP3 decreases pulmonary vascular remodeling and reverses cardiac dysfunction in PAH-diseased rodents. C_LIO_LIBMP3 acts by restoring the balance between the TGF-{beta}/Smad2,3 pathway and the BMP/Smad1,5,8 pathway C_LI What Are the Clinical Implications?O_LIBMP3 represents a promising disease-modifying agent with potential for clinical translation in the treatment of PAH. C_LIO_LIOverexpressing BMP3 with Adeno-Associated Viruses has therapeutic potential to treat PAH. C_LI

pathology↗