SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2303.08863 · 2023

Class-Guided Image-to-Image Diffusion: Cell Painting from Brightfield Images with Class Labels

arXiv · PDF · Open in the Atlas

Code that ran

14 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 3 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2303.08863.json · badge: /api/ran/2303.08863.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
crosszamirski/guided-i2i canonical (classifier label)
classifier basis not recorded on the link
14 ran · 3 no recorded run
FunctionStatusWhere it lives
approx_standard_normal_cdf Ran
ran; our contract draft was wrong, not the code
crosszamirski/guided-i2i/guided_diffusion/losses.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cfd76fd0d89574a4")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from quandao10/slct, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

betas_for_alpha_bar Ran
ran, honoured the contract we drafted
crosszamirski/guided-i2i/guided_diffusion/gaussian_diffusion.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from NVlabs/DiffPure, is pointer only (licence: NOASSERTION) · get_code("2ab2316ac6fdd869")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from NVlabs/DiffPure, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_named_schedule_sampler Ran
ran; our contract draft was wrong, not the code
crosszamirski/guided-i2i/guided_diffusion/resample.py
code served (permissive licence) · get_code("1aa1edd33653c7d0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned UniformSampler. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Create a minimal diffusion mock object that has num_timesteps attribute
class MockDiffusion:
    def __init__(self, num_timesteps=10):
        self.num_timesteps = num_timesteps

# Create the mock diffusion object
diffusion = MockDiffusion(num_timesteps=10)

# Define ARGS dict with parameters for create_named_schedule_sampler
ARGS = {
    "name": "uniform",
    "diffusion": diffusion,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type UniformSampler — a UniformSampler output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a UniformSampler output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
discretized_gaussian_log_likelihood Ran
ran; our contract draft was wrong, not the code
crosszamirski/guided-i2i/guided_diffusion/losses.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cd33283d615fb3d7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from quandao10/slct, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_named_beta_schedule Ran
ran, honoured the contract we drafted
crosszamirski/guided-i2i/guided_diffusion/gaussian_diffusion.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from NVlabs/DiffPure, is pointer only (licence: NOASSERTION) · get_code("a086d6286a40b889")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from NVlabs/DiffPure, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_param_groups_and_shapes Ran
ran; our contract draft was wrong, not the code
crosszamirski/guided-i2i/guided_diffusion/fp16_util.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e41367ad14ff58fd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from ZhendongWang6/DIRE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_master_params Ran
ran; our contract draft was wrong, not the code
crosszamirski/guided-i2i/guided_diffusion/fp16_util.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e20dd5102da3b050")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from ZhendongWang6/DIRE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_output_format Ran
ran; our contract draft was wrong, not the code
crosszamirski/guided-i2i/guided_diffusion/logger.py
code served (permissive licence) · get_code("bcd8b4acab199405")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned HumanOutputFormat. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import sys
import tempfile

# Create a temporary directory for output
temp_dir = tempfile.mkdtemp()

ARGS = {
    'format': 'log',
    'ev_dir': temp_dir,
    'log_suffix': '_test'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type HumanOutputFormat — a HumanOutputFormat output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a HumanOutputFormat output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
mpi_weighted_mean Ran
ran; our contract draft was wrong, not the code
crosszamirski/guided-i2i/guided_diffusion/logger.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from HeadLiuYun/NeuroDiff, is pointer only (licence: NONE) · get_code("e515a67f7f32e76d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from HeadLiuYun/NeuroDiff, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normal_kl Ran
ran, honoured the contract we drafted
crosszamirski/guided-i2i/guided_diffusion/losses.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from facebookresearch/agrol, is pointer only (licence: NOASSERTION) · get_code("cf2798b666b231ca")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from facebookresearch/agrol, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_resume_step_from_filename Ran
ran, honoured the contract we drafted
crosszamirski/guided-i2i/guided_diffusion/train_util.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from zzzhangboya/scoreopt, is pointer only (licence: NONE) · get_code("76313eaf1a6e8f2a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from zzzhangboya/scoreopt, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

space_timesteps Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
crosszamirski/guided-i2i/guided_diffusion/respace.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from LehongWu/MacDiff, is pointer only (licence: NONE) · get_code("9b6e4e070473e76f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from LehongWu/MacDiff, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

unflatten_master_params Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
crosszamirski/guided-i2i/guided_diffusion/fp16_util.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("64fff1e30802b815")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from ZhendongWang6/DIRE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

zero_module Ran
ran; our contract draft was wrong, not the code
crosszamirski/guided-i2i/guided_diffusion/nn.py
code served (permissive licence) · get_code("129b804760b3115f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned SimpleModule. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple module with some parameters
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.conv = nn.Conv1d(2, 2, 3)
    
    def forward(self, x):
        return x

module = SimpleModule()

# Verify the module has non-zero parameters before zeroing
for p in module.parameters():
    assert p.abs().sum() > 0, "Parameters should be non-zero initially"

ARGS = {
    "module": module
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimpleModule — a SimpleModule output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModule output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
conv_nd Not yet run
unverified (harvested, no recorded run)
crosszamirski/guided-i2i/guided_diffusion/nn.py
code served (permissive licence) · get_code("fe4eb545bbb728e0")
How it ran

no invocation recorded.

profile Not yet run
unverified (harvested, no recorded run)
crosszamirski/guided-i2i/guided_diffusion/logger.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from HeadLiuYun/NeuroDiff, is pointer only (licence: NONE) · get_code("0c6607473a4c4c55")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from HeadLiuYun/NeuroDiff, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

scale_module Not yet run
unverified (harvested, no recorded run)
crosszamirski/guided-i2i/guided_diffusion/nn.py
code served (permissive licence) · get_code("9136b5f9b735334b")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 17 are also present in other papers whose code we hold (16 with at least one paper dated earlier, 14 the same month, 17 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
zero_module 196 other papers
34 dated earlier, 4 the same month, 157 later, 1 same year, order not determinable · 49 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 193 more not named here
normal_kl 160 other papers
27 dated earlier, 5 the same month, 126 later, 2 same year, order not determinable · 19 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 157 more not named here
approx_standard_normal_cdf 154 other papers
27 dated earlier, 5 the same month, 120 later, 2 same year, order not determinable · 17 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 151 more not named here
discretized_gaussian_log_likelihood 128 other papers
27 dated earlier, 5 the same month, 94 later, 2 same year, order not determinable · 16 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 125 more not named here
conv_nd 121 other papers
32 dated earlier, 2 the same month, 86 later, 1 same year, order not determinable · 32 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 118 more not named here
betas_for_alpha_bar 92 other papers
32 dated earlier, 4 the same month, 54 later, 2 same year, order not determinable · 3 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2102.09672 (2021-02)
Improved Denoising Diffusion Probabilistic Models
and 89 more not named here
make_output_format 73 other papers
39 dated earlier, 2 the same month, 32 later
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
and 70 more not named here
unflatten_master_params 72 other papers
15 dated earlier, 4 the same month, 52 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 69 more not named here
make_master_params 70 other papers
15 dated earlier, 3 the same month, 51 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 67 more not named here
get_param_groups_and_shapes 68 other papers
14 dated earlier, 3 the same month, 50 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2112.03145 (2021-12)
Diffusion Models for Implicit Image Segmentation Ensembles
and 65 more not named here
get_named_beta_schedule 63 other papers
22 dated earlier, 3 the same month, 37 later, 1 same year, order not determinable
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2108.02938 (2021-08)
ILVR: Conditioning Method for Denoising Diffusion Probabilistic Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 60 more not named here
profile 61 other papers
26 dated earlier, 1 the same month, 33 later, 1 same year, order not determinable
1611.05763 (2016-11)
Learning to reinforcement learn
1905.06750 (2019-05)
Random Expert Distillation: Imitation Learning via Expert Policy Support Estimation
1906.05841 (2019-06)
Deep Reinforcement Learning for Industrial Insertion Tasks with Visual Inputs and Natural Rewards
and 58 more not named here
space_timesteps 57 other papers
7 dated earlier, 49 later, 1 same year, order not determinable · 2 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
and 54 more not named here
mpi_weighted_mean 52 other papers
18 dated earlier, 2 the same month, 31 later, 1 same year, order not determinable
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
and 49 more not named here
create_named_schedule_sampler 45 other papers
9 dated earlier, 36 later
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
and 42 more not named here
parse_resume_step_from_filename 18 other papers
4 dated earlier, 2 the same month, 12 later
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2205.14217 (2022-05)
Diffusion-LM Improves Controllable Text Generation
and 15 more not named here
scale_module 14 other papers
14 later
2310.12190 (2023-10)
DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors
2310.15587 (2023-10)
SCANDL: A Diffusion Model for Generating Synthetic Scanpaths on Texts
2312.00330 (2023-12)
StyleCrafter: Enhancing Stylized Text-to-Video Generation with Style Adapter
and 11 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Image-to-image reconstruction problems with free or inexpensive metadata in the form of class labels appear often in biological and medical image domains. Existing text-guided or style-transfer image-to-image approaches do not translate to datasets where additional information is provided as discrete classes. We introduce and implement a model which combines image-to-image and class-guided denoising diffusion probabilistic models. We train our model on a real-world dataset of microscopy images used for drug discovery, with and without incorporating metadata labels. By exploring the properties of image-to-image diffusion with relevant labels, we show that class-guided image-to-image diffusion can improve the meaningful content of the reconstructed images and outperform the unguided model in useful downstream tasks.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2303.08863")
get_code_for_paper("2303.08863")
have("2303.08863")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2303.08863.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2303.08863.svg)](https://syntology.ai/paper/2303.08863)

Connect an agent — have() is free.