
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Diffusion models have become popular for their ability to solve complex problems where hidden information needs to be estimated from observed data. Among others, their use is popular in image generation tasks. These models rely on a key hyperparameter of the variance schedule that impacts how well they learn, but recent work shows that allowing the model to automatically learn this hyperparameter can improve both performance and efficiency. Our CVDM package implements Conditional Variational Diffusion Models (CVDM) as described in the paper that build on this idea, with the addition of Zero-Mean Diffusion (ZMD), a technique that enhances performance in certain imaging tasks, aiming to make these approaches more accessible to researchers.
The datasets that we are using are available online:
It is assumed that for:
We provide a Dockerfile to prepare the environment. Run the following code in the root of this repository:
docker build -t my-image .
docker run -it my-image
Inside the image run:
eval "$(micromamba shell hook --shell bash)"
micromamba activate cvdm
If you encounter issues with cupy installation (required only for the phase tasks) such as these, you can modify the cvdm/utils/phase_utils.py
to use pure numpy.
imagenet_sr_sample.yaml
or imagenet_phase_sample.yaml
. You can also use your own data as long as it is in ".npy" format. To do so, use the task type "other".configs/
directory with the path to the data you want to use and the directory for outputs. For the description of each parameter, check the documentation in cvdm/configs/
files.python scripts/train.py --config-path $PATH_TO_CONFIG --neptune-token $NEPTUNE_TOKEN
.--neptune-token
argument is optional.
configs/
directory with the path to the data you want to use and the directory for outputs.python scripts/eval.py --config-path $PATH_TO_CONFIG --neptune-token $NEPTUNE_TOKEN
.--neptune-token
argument is optional.
To contribute to the software or seek support, please leave an issue or pull request.
This repository is released under the MIT License (refer to the LICENSE file for details).
FAQs
Code for Conditional Variational Diffusion Models
We found that cvdm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.