SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.03244 · 2023

EGIC: Enhanced Low-Bit-Rate Generative Image Compression Guided by Semantic Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

12 of 14 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; 3 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 7 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2309.03244.json · badge: /api/ran/2309.03244.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
nikolai10/egic canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
Nikolai10/SwinT-ChARM community (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
FunctionStatusWhere it lives
build_input Ran
ran; our contract draft was wrong, not the code
nikolai10/egic/src/eval_utils.py
code served (permissive licence) · get_code("9805e35fa499cd27")
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 _MapDataset. 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 tempfile
import os
from PIL import Image
import numpy as np

# Create a temporary directory with some test PNG images
temp_dir = tempfile.mkdtemp()

# Create a few small test PNG images
for i in range(3):
    img_array = np.random.randint(0, 256, (4, 5, 3), dtype=np.uint8)
    img = Image.fromarray(img_array, 'RGB')
    img.save(os.path.join(temp_dir, f'test_{i}.png'))

# Define the arguments
ARGS = {
    'batch_size': 2,
    'images_glob': os.path.join(temp_dir, '*.png')
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type _MapDataset — a _MapDataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a _MapDataset 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
check_image_size Ran
ran on a synthesized input
Nikolai10/SwinT-ChARM/zyc2022.py
code served (permissive licence) · get_code("5951eab56691973c")
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 EagerTensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 tensorflow as tf

# Create a small valid image tensor
# Shape: (height=8, width=8, channels=3)
# The function checks: shape[0] >= patchsize, shape[1] >= patchsize, shape[-1] == 3
image = tf.constant([[[1, 2, 3] for _ in range(8)] for _ in range(8)], dtype=tf.float32)

# Set patchsize to something smaller than image dimensions
patchsize = 4

ARGS = {
    "image": image,
    "patchsize": patchsize
}
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 EagerTensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
compute_perceptual_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nikolai10/egic/src/loss.py
code served (permissive licence) · get_code("5b63243e9f258553")
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 EagerTensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 tensorflow as tf
import tempfile
import os

# Create a minimal mock LPIPS weights file
# We need to create a valid protobuf GraphDef that can be loaded
temp_dir = tempfile.gettempdir()
lpips_path = os.path.join(temp_dir, 'mock_lpips_weights.pb')

# Create a minimal valid GraphDef with the expected input/output nodes
graph_def = tf.compat.v1.GraphDef()

# Add two placeholder nodes for inputs '0:0' and '1:0'
node_0 = graph_def.node.add()
node_0.name = '0'
node_0.op = 'Placeholder'
node_0.attr['dtype'].type = tf.float32.as_datatype_enum

node_1 = graph_def.node.add()
node_1.name = '1'
node_1.op = 'Placeholder'
node_1.attr['dtype'].type = tf.float32.as_datatype_enum

# Add a simple operation that produces output
add_node = graph_def.node.add()
add_node.name = 'add'
add_node.op = 'Add'
add_node.input.append('0')
add_node.input.append('1')
add_node.attr['T'].type = tf.float32.as_datatype_enum

# Add reshape node to match expected output 'Reshape_10:0'
reshape_node = graph_def.node.add()
reshape_node.name = 'Reshape_10'
reshape_node.op = 'Identity'
reshape_node.input.append('add')
reshape_node.attr['T'].type = tf.float32.as_datatype_enum

# Write the GraphDef to file
with open(lpips_path, 'wb') as f:
    f.write(graph_def.SerializeToString())

# Create test tensors
# Inputs are expected to be in range [-1, 1] after normalization
# Shape: (batch_size, height, width, channels) - NHWC format
x = tf.constant([[[[-0.5, 0.0, 0.5, -1.0],
                    [0.1, -0.1, 0.3, 0.7]],
                   [[0.2, -0.2, 0.4, 0.6],
                    [-0.3, 0.3, -0.7, 0.9]]],
                  [[[-0.4, 0.1, 0.6, -0.8],
                    [0.0, -0.5, 0.2, 0.8]],
                   [[0.3, -0.6, 0.5, 0.1],
                    [-0.2, 0.4, -0.9, 0.4]]]], dtype=tf.float32)

x_hat = tf.constant([[[[0.4, -0.1, 0.4, -0.9],
                       [-0.1, 0.2, 0.1, 0.6]],
                      [[0.1, -0.3, 0.3, 0.7],
                       [-0.4, 0.2, -0.8, 0.8]]],
                     [[[-0.3, 0.0, 0.5, -0.7],
                       [0.1, -0.4, 0.3, 0.7]],
                      [[0.2, -0.5, 0.4, 0.2],
                       [-0.1, 0.3, -0.8, 0.5]]]], dtype=tf.float32)

ARGS = {
    'x': x,
    'x_hat': x_hat,
    'lpips_path': lpips_path
}
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 EagerTensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
crop_image Ran
ran on a synthesized input
Nikolai10/SwinT-ChARM/zyc2022.py
code served (permissive licence) · get_code("aacb725a47e91ac8")
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 EagerTensor, ndim 3, dtype family float, shape (4, 4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 tensorflow as tf

# Create a valid image tensor
# The function expects an image with shape (height, width, channels)
# We need at least patchsize dimensions, so let's make it larger
patchsize = 4
# Create an image with shape (8, 8, 3) - larger than patchsize
image = tf.random.uniform((8, 8, 3), dtype=tf.float32, minval=0, maxval=256)

ARGS = {
    "image": image,
    "patchsize": patchsize,
}
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 EagerTensor, ndim 3, dtype family float, shape (4, 4, 3) — shape (4, 4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
generate_labelmix Ran
ran; our contract draft was wrong, not the code
nikolai10/egic/src/loss.py
code served (permissive licence) · get_code("251b20a197a41aac")
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 tuple, ndim 5, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 tensorflow as tf
import numpy as np

# Create small test tensors for the function
# segments: needs to be a TensorFlow tensor that can be converted to numpy
# It contains class labels that will be remapped to 0 or 1
batch_size = 2
height = 4
width = 3

# Create segments tensor with some class indices (e.g., 0, 1, 2)
segments_np = np.array([[[0, 1, 2],
                         [1, 0, 2],
                         [2, 1, 0],
                         [0, 2, 1]],
                        [[1, 0, 2],
                         [0, 1, 2],
                         [2, 0, 1],
                         [1, 2, 0]]], dtype=np.int32)
segments = tf.constant(segments_np)

# fake_image: shape should be (batch, height, width, channels)
# After target_map expansion, it will have shape (batch, height, width, 1)
# So fake_image should have same spatial dims and 1 channel for broadcasting
fake_image = tf.constant(np.random.rand(batch_size, height, width, 1).astype(np.float32))

# real_image: same shape as fake_image
real_image = tf.constant(np.random.rand(batch_size, height, width, 1).astype(np.float32))

ARGS = {
    "segments": segments,
    "fake_image": fake_image,
    "real_image": real_image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 5, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
get_dataset Ran
ran; our contract draft was wrong, not the code
nikolai10/egic/src/eval_utils.py
code served (permissive licence) · get_code("0c31d64965cd5f7c")
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 _PrefetchDataset. 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 tensorflow as tf
import tempfile
import os
import numpy as np
from PIL import Image

# Create a temporary directory with some test PNG images
temp_dir = tempfile.mkdtemp()

# Create a few small test PNG images
for i in range(3):
    img_array = np.random.randint(0, 256, (8, 8, 3), dtype=np.uint8)
    img = Image.fromarray(img_array)
    img.save(os.path.join(temp_dir, f"test_{i}.png"))

# Create glob pattern for the test images
images_glob = os.path.join(temp_dir, "test_*.png")

# Define arguments
ARGS = {
    "batch_size": 2,
    "images_glob": images_glob,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type _PrefetchDataset — a _PrefetchDataset output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a _PrefetchDataset 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
get_image_names Ran
ran; our contract draft was wrong, not the code
nikolai10/egic/src/eval_utils.py
code served (permissive licence) · get_code("9084e87a134357cb")
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 dict. 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 glob
import tempfile

# Create temporary directory with some test image files
temp_dir = tempfile.mkdtemp()

# Create some dummy image files
for i in range(3):
    open(os.path.join(temp_dir, f"image_{i}.png"), 'w').close()
    open(os.path.join(temp_dir, f"photo_{i}.jpg"), 'w').close()

# Create glob pattern that matches the test images
images_glob = os.path.join(temp_dir, "*.png")

ARGS = {
    "images_glob": images_glob
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
get_relative_position_index Ran
ran, honoured the contract we drafted
Nikolai10/SwinT-ChARM/swin-transformers-tf/swins/layers/window_attn.py
code served (permissive licence) · get_code("3595486ee2fc3da2")
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 EagerTensor, ndim 2, dtype family int, shape (12, 12) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 tensorflow as tf

# The function takes two integer parameters: win_h (window height) and win_w (window width)
# These are used in meshgrid, reshape, and arithmetic operations
# We'll use small integer values for the window dimensions

win_h = 3
win_w = 4

ARGS = {
    "win_h": win_h,
    "win_w": win_w,
}
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 EagerTensor, ndim 2, dtype family int, shape (12, 12) — shape (12, 12) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
learning_rate_decay Ran
ran, honoured the contract we drafted
nikolai10/egic/src/kkshms2024_orp.py
code served (permissive licence) · get_code("0a3f4479448952d5")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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)

# Based on the function signature and body:
# - epoch: an integer representing the current epoch
# - learning_rate: a float representing the current learning rate

ARGS = {
    "epoch": 480,
    "learning_rate": 0.001
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
perturb_color Ran
ran; our contract draft was wrong, not the code
nikolai10/egic/src/helpers.py
code served (permissive licence) · get_code("2111b84613f08f82")
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 ndarray, ndim 1, dtype family int, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np

# Set random seed for reproducibility
np.random.seed(42)

# Create a base color (RGB values between 0-255)
color = np.array([128, 64, 192], dtype=np.uint8)

# Define noise level (amount of perturbation in uint8 range)
noise = 20

# Create a set to track used colors
used_colors = set()
used_colors.add((128, 64, 192))  # Add the base color as already used

# Create a RandomState for reproducibility
random_state = np.random.RandomState(42)

# Maximum number of trials to find a new color
max_trials = 50

ARGS = {
    "color": color,
    "noise": noise,
    "used_colors": used_colors,
    "max_trials": max_trials,
    "random_state": random_state,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family int, shape (3,) — shape (3,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
read_png Ran
ran, honoured the contract we drafted
nikolai10/egic/src/helpers.py
code served (permissive licence) · get_code("8c9a645aa44b6f0b")
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 EagerTensor, ndim 3, dtype family int, shape (2, 4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 tensorflow as tf
import tempfile
import os

# Create a temporary PNG file for testing
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_image.png")

# Create a simple 4x3 RGB image and save it as PNG
image_array = tf.constant([
    [[255, 0, 0], [0, 255, 0], [0, 0, 255], [255, 255, 0]],
    [[255, 0, 255], [0, 255, 255], [128, 128, 128], [64, 64, 64]]
], dtype=tf.uint8)

encoded = tf.io.encode_png(image_array)
tf.io.write_file(temp_file, encoded)

ARGS = {
    "filename": temp_file
}
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 EagerTensor, ndim 3, dtype family int, shape (2, 4, 3) — shape (2, 4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
to_ntuple Ran
ran; our contract draft was wrong, not the code
Nikolai10/SwinT-ChARM/swin-transformers-tf/swins/models.py
code served (permissive licence) · get_code("390959941608f53a")
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 function. 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 collections.abc
from itertools import repeat

def to_ntuple(n):
    def parse(x):
        if isinstance(x, collections.abc.Iterable):
            return x
        return tuple(repeat(x, n))
    return parse

# Test the function with various inputs
ARGS = {
    "n": 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
parse_args Not yet run
unverified (harvested, no recorded run)
nikolai10/egic/src/kkshms2024.py
code served (permissive licence) · get_code("da48e3d95f2bc415")
How it ran

no invocation recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
nikolai10/egic/src/kkshms2024_orp.py
code served (permissive licence) · get_code("63f0e9103a082284")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 0 later) and 8 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
check_image_size 1 other paper
1 dated earlier
2212.13824 (2022-12)
Multi-Realism Image Compression with a Conditional Generator
compute_perceptual_loss 1 other paper
1 dated earlier
2212.13824 (2022-12)
Multi-Realism Image Compression with a Conditional Generator
crop_image 1 other paper
1 dated earlier
2212.13824 (2022-12)
Multi-Realism Image Compression with a Conditional Generator
get_relative_position_index 1 other paper
1 dated earlier
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
read_png 1 other paper
1 dated earlier
2212.13824 (2022-12)
Multi-Realism Image Compression with a Conditional Generator
to_ntuple 1 other paper
1 dated earlier
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows

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-23.

Repositories linked to this paper

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

Abstract

We introduce EGIC, an enhanced generative image compression method that allows traversing the distortion-perception curve efficiently from a single model. EGIC is based on two novel building blocks: i) OASIS-C, a conditional pre-trained semantic segmentation-guided discriminator, which provides both spatially and semantically-aware gradient feedback to the generator, conditioned on the latent image distribution, and ii) Output Residual Prediction (ORP), a retrofit solution for multi-realism image compression that allows control over the synthesis process by adjusting the impact of the residual between an MSE-optimized and GAN-optimized decoder output on the GAN-based reconstruction. Together, EGIC forms a powerful codec, outperforming state-of-the-art diffusion and GAN-based methods (e.g., HiFiC, MS-ILLM, and DIRAC-100), while performing almost on par with VTM-20.0 on the distortion end. EGIC is simple to implement, very lightweight, and provides excellent interpolation characteristics, which makes it a promising candidate for practical applications targeting the low bit range.

For agents

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

get_harvested_code_for_paper("2309.03244")
get_code_for_paper("2309.03244")
have("2309.03244")

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

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

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

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

Connect an agent — have() is free.