Practical overview
When it fits
Use the repository when you want a command-line research workflow for applying TIME across a dataset or to inspect the linked browser demo for interactive editing.
Who it is for
- Researchers studying text-to-image diffusion model editing.
- Developers comparing editing functions or running prompt-dataset experiments.
Documented uses
- Apply a model-editing method to prompts in a dataset.
- Compare the closed-form editing function with a baseline.
- Generate multiple image results per prompt and save them for analysis.
- Explore model edits through the linked browser demo.
Requirements & limits
- The experiment script supports choosing
train_closed_formorbaseline; the regularization parameter is used with the closed-form function. --with_augsenables textual augmentations, while--with_to_kincludes editing the key projection along with the value projection.- Runs select a dataset CSV, inclusive starting index, exclusive ending index, and number of seeds per prompt.
- The repository reports a specific tested software stack; other runtimes and model configurations are experimental.
- A Gradio browser demo is linked, but the repository does not establish whether it is maintained or deployed by the repository.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run a dataset-based TIME experiment
Apply the documented editing function across a selected prompt range and save generated image results.
Before you start
- Python environment based on the repository's
environment.ymlexample. - The reported test stack is PyTorch 1.13.1, CUDA 11.6.2, NumPy 1.23.4 and Diffusers 0.9.0.
- A dataset CSV; the README identifies
TIMED_test_set_filtered_SD14.csvas the default.
Steps
Choose
train_closed_formorbaselinefor--train_func; set--lambwhen using the closed-form function.Set
--dataset,--begin_idx,--end_idxand--num_seedsto select prompts and image seeds.Run the command below with the selected options, optionally adding
--with_to_kand--with_augs; set--save_dirfor the output directory.python apply_time.py
Expected outcome
The experiment applies TIME over the selected dataset range and saves generated results in the specified directory.
Guide limitations
- The repository reports testing only with PyTorch 1.13.1, CUDA 11.6.2, NumPy 1.23.4 and Diffusers 0.9.0; other configurations are not established.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 24 October 2026
- Original website title
- bahjat-kawar/time-diffusion · Official homepage title · retained in its source language

