bridenmj/wound-stylegan

Model

0

stars

5

commits

3

linked in READMEs

Aug 27, 2026

updated

generative-adversarial-network
image-generation
medical-imaging
porcine
research
stylegan2
stylegan2-ada
wound-healing

README

Wound StyleGAN Generator

This repository contains the trained StyleGAN generator used in the Wound Forecasting project.

The generator was trained on longitudinal porcine wound images and was used as the image-representation bottleneck for e4e inversion and DyneODE latent-space forecasting.

This repository is currently private while public-release authority and licensing are being confirmed.

Released artifact

FieldValue
Filenetwork-snapshot-005000_jmir_50000_redo_.pt
Checkpoint generator fieldg_ema
Additional fieldlatent_avg
Output resolution256 x 256
Style dimension512
Mapping depth8
Channel multiplier2

The checkpoint is a converted PyTorch state-dictionary package rather than an original StyleGAN pickle.

Loading architecture

The final DyneODE implementation constructs the generator with:

from stylegan2.model import Generator
import torch

generator = Generator(
    256,
    512,
    8,
    channel_multiplier=2,
)

checkpoint = torch.load(
    checkpoint_path,
    map_location="cpu",
    weights_only=False,
)

generator.load_state_dict(
    checkpoint["g_ema"],
    strict=True,
)

generator.eval()

The final paper notebook verified that the checkpoint loaded with zero missing and zero unexpected generator parameters.

Provenance

The generator was trained using the Collapse by Conditioning / transitional-cGAN implementation:

That implementation is based on NVIDIA StyleGAN2-ADA:

LICENSE_ADA.txt is included as the upstream notice. Its inclusion documents upstream provenance and does not assign a new project license to this repository.

Project resources

Reproducibility note

The recovered historical Kubernetes launcher used four GPUs and invoked train_4gpu.sh. The complete historical train.py argument list was not embedded in the final DyneODE notebook. The exact released generator artifact and its inference architecture are preserved here.

Intended use

This generator is provided for research reproduction and investigation of longitudinal wound-image representations.

Project license

The original project-trained weights released in this repository are licensed under the Creative Commons Attribution–NonCommercial 4.0 International license (CC BY-NC 4.0).

Third-party implementations, base models, tokenizers, and other external dependencies are not relicensed by this repository and remain subject to their respective licenses and terms. Any upstream license or notice files included in this repository continue to apply to the corresponding upstream materials.

Contributors

bridenmj

5 commits

bridenmj/wound-stylegan

Model

0

stars

5

commits

3

linked in READMEs

Aug 27, 2026

updated

generative-adversarial-network
image-generation
medical-imaging
porcine
research
stylegan2
stylegan2-ada
wound-healing

README

Wound StyleGAN Generator

This repository contains the trained StyleGAN generator used in the Wound Forecasting project.

The generator was trained on longitudinal porcine wound images and was used as the image-representation bottleneck for e4e inversion and DyneODE latent-space forecasting.

This repository is currently private while public-release authority and licensing are being confirmed.

Released artifact

FieldValue
Filenetwork-snapshot-005000_jmir_50000_redo_.pt
Checkpoint generator fieldg_ema
Additional fieldlatent_avg
Output resolution256 x 256
Style dimension512
Mapping depth8
Channel multiplier2

The checkpoint is a converted PyTorch state-dictionary package rather than an original StyleGAN pickle.

Loading architecture

The final DyneODE implementation constructs the generator with:

from stylegan2.model import Generator
import torch

generator = Generator(
    256,
    512,
    8,
    channel_multiplier=2,
)

checkpoint = torch.load(
    checkpoint_path,
    map_location="cpu",
    weights_only=False,
)

generator.load_state_dict(
    checkpoint["g_ema"],
    strict=True,
)

generator.eval()

The final paper notebook verified that the checkpoint loaded with zero missing and zero unexpected generator parameters.

Provenance

The generator was trained using the Collapse by Conditioning / transitional-cGAN implementation:

That implementation is based on NVIDIA StyleGAN2-ADA:

LICENSE_ADA.txt is included as the upstream notice. Its inclusion documents upstream provenance and does not assign a new project license to this repository.

Project resources

Reproducibility note

The recovered historical Kubernetes launcher used four GPUs and invoked train_4gpu.sh. The complete historical train.py argument list was not embedded in the final DyneODE notebook. The exact released generator artifact and its inference architecture are preserved here.

Intended use

This generator is provided for research reproduction and investigation of longitudinal wound-image representations.

Project license

The original project-trained weights released in this repository are licensed under the Creative Commons Attribution–NonCommercial 4.0 International license (CC BY-NC 4.0).

Third-party implementations, base models, tokenizers, and other external dependencies are not relicensed by this repository and remain subject to their respective licenses and terms. Any upstream license or notice files included in this repository continue to apply to the corresponding upstream materials.

Contributors

bridenmj

5 commits