SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1610.02357 · CVPR · 2016

Xception: Deep Learning with Depthwise Separable Convolutions

arXiv · PDF · Open in the Atlas

Code that ran

7 of 15 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; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 2 failures of our instrument; 8 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/1610.02357.json · badge: /api/ran/1610.02357.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
amogh7joshi/engagement-detection community (classifier label)
classifier basis not recorded on the link
6 ran · 4 no recorded run
tanreinama/XceptionHourgrass---PyTorch extension (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
kwotsin/TensorFlow-Xception community (classifier label)
classifier basis not recorded on the link
0 ran · 3 no recorded run
hikapok/xception_tensorflow reimplementation (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
FunctionStatusWhere it lives
mish Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
tanreinama/XceptionHourgrass---PyTorch/xceptionhourgrass.py
code served (permissive licence) · get_code("6a59ba4afdd39102")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-05T00:15:38Z). 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.functional as F

torch.manual_seed(0)

# The mish function takes a single input tensor and applies:
# input * tanh(softplus(input))
# So we need to provide a tensor as the 'input' parameter

input_tensor = torch.randn(2, 4)

ARGS = {
    "input": input_tensor
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
create_model_5 Ran
ran on a synthesized input
amogh7joshi/engagement-detection/models/pastmodels.py
code served (permissive licence) · get_code("4a8e653ea8758e0d")
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 Functional. 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
from tensorflow.keras.models import Sequential, Model
from tensorflow.keras import layers
from tensorflow.keras.layers import Conv2D, SeparableConv2D, MaxPooling2D, AveragePooling2D, BatchNormalization, GlobalAvgPool2D
from tensorflow.keras.layers import Flatten, Dropout, Dense, Input, ReLU, Softmax
from tensorflow.keras.regularizers import l2

# Define arguments for create_model_5 function
# input: tuple specifying input shape (height, width, channels)
# classes: int specifying number of output classes
# l2_reg: float specifying L2 regularization coefficient (optional, has default)

ARGS = {
    'input': (32, 32, 3),  # input shape: height=32, width=32, channels=3
    'classes': 10,          # number of output classes
    'l2_reg': 0.005         # L2 regularization coefficient
}
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 Functional — a Functional output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Functional 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
grayscale Ran
ran on a synthesized input
amogh7joshi/engagement-detection/util/baseimgops.py
code served (permissive licence) · get_code("31c3c8cf7b95571f")
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 3, dtype family int, shape (1, 4, 5) 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 cv2
import numpy as np
import torch

# Create a small BGR image (3-channel, height=4, width=5)
# Using random integers in the valid BGR range [0, 255]
img = np.random.randint(0, 256, size=(4, 5, 3), dtype=np.uint8)

ARGS = {
    "img": img
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (1, 4, 5) — shape (1, 4, 5) 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
load_keras_model Ran
ran on a synthesized input
amogh7joshi/engagement-detection/models/model_factory.py
code served (permissive licence) · get_code("c739cc064f9fca4f")
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 Functional. 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 tempfile
import tensorflow as tf
from tensorflow.keras import layers, models
from tensorflow.keras.optimizers import Adam

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

# Build a simple Keras model and save it as h5
def create_simple_model():
    inputs = layers.Input(shape=(4,))
    x = layers.Dense(3, activation='relu')(inputs)
    outputs = layers.Dense(2, activation='softmax')(x)
    model = models.Model(inputs=inputs, outputs=outputs)
    return model

# Create and save model in h5 format
simple_model = create_simple_model()
model_path = os.path.join(temp_dir, 'test_model.h5')
simple_model.save(model_path)

# Define ARGS dictionary with all parameters for load_keras_model
ARGS = {
    'model_name': 'test_model',
    'folder_path': temp_dir,
    'weights_format': None,
    'compile': 'default'
}
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 Functional — a Functional output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Functional 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
non_max_suppression Ran
ran on a synthesized input
amogh7joshi/engagement-detection/util/classifyimgops.py
code served (permissive licence) · get_code("6d593988bfb15f53")
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 2, dtype family int, shape (1, 4) 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

# Create sample rectangle data
# Format: [x1, y1, x2, y2] for each rectangle
# Using 5 rectangles with some overlaps
rects = np.array([
    [10, 20, 50, 60],      # Rectangle 1
    [15, 25, 55, 65],      # Rectangle 2 (overlaps with 1)
    [100, 100, 150, 150],  # Rectangle 3
    [105, 105, 155, 155],  # Rectangle 4 (overlaps with 3)
    [200, 200, 250, 250],  # Rectangle 5
], dtype='int32')

overlap_thresh = 0.3

ARGS = {
    'rects': rects,
    'overlap_thresh': overlap_thresh,
}
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 2, dtype family int, shape (1, 4) — shape (1, 4) 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
preprocess_input Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
amogh7joshi/engagement-detection/util/classifyimgops.py
code served (permissive licence) · get_code("51d8271eca5b94ff")
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 4, dtype family float, shape (2, 4, 3, 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

torch_seed = 0

# Create a small image array (batch_size=2, height=4, width=3, channels=3)
x = np.random.randint(0, 256, size=(2, 4, 3, 3), dtype=np.uint8)

ARGS = {
    'x': x,
    'v2': True,
}
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 4, dtype family float, shape (2, 4, 3, 3) — shape (2, 4, 3, 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
resize Ran
ran on a synthesized input
amogh7joshi/engagement-detection/util/baseimgops.py
code served (permissive licence) · get_code("c127f627ffe74343")
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 2, dtype family int, shape (48, 48) 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 cv2
import numpy as np

# Create a small 2D image (grayscale)
# Using shape (64, 80) to have distinct dimensions
img = np.random.randint(0, 256, size=(64, 80), dtype=np.uint8)

ARGS = {
    "img": img,
    "target_shape": (48, 48)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (48, 48) — shape (48, 48) 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
apply_offsets Not yet run
unverified (harvested, no recorded run)
amogh7joshi/engagement-detection/util/classifyimgops.py
code served (permissive licence) · get_code("dffdd7167bf3ce15")
How it ran

no invocation recorded.

apply_with_random_selector Not yet run
unverified (harvested, no recorded run)
kwotsin/TensorFlow-Xception/xception_preprocessing.py
code served (permissive licence) · get_code("e82919ec054e8a8b")
How it ran

no invocation recorded.

build_model_4 Not yet run
unverified (harvested, no recorded run)
amogh7joshi/engagement-detection/models/pastmodels.py
code served (permissive licence) · get_code("43ba0b86d175e99c")
How it ran

no invocation recorded.

create_model_6 Not yet run
unverified (harvested, no recorded run)
amogh7joshi/engagement-detection/models/pastmodels.py
code served (permissive licence) · get_code("c72c502fe2be8011")
How it ran

no invocation recorded.

distort_color Not yet run
unverified (harvested, no recorded run)
kwotsin/TensorFlow-Xception/xception_preprocessing.py
code served (permissive licence) · get_code("7d9923a3d6958b99")
How it ran

no invocation recorded.

distorted_bounding_box_crop Not yet run
unverified (harvested, no recorded run)
kwotsin/TensorFlow-Xception/xception_preprocessing.py
code served (permissive licence) · get_code("f1bd3b4c3f92fe63")
How it ran

no invocation recorded.

load_json_model Not yet run
unverified (harvested, no recorded run)
amogh7joshi/engagement-detection/models/model_factory.py
code served (permissive licence) · get_code("86ee540aa40f4d49")
How it ran

no invocation recorded.

reduced_kernel_size_for_small_input Not yet run
unverified (harvested, no recorded run)
hikapok/xception_tensorflow/Xception.py
code served (permissive licence) · get_code("1d0c0051ecdfaf14")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 6 later) and 9 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
mish 5 other papers
1 dated earlier, 4 later
1603.06937 (2016-03)
Stacked Hourglass Networks for Human Pose Estimation
1908.08681 (2019-08)
Mish: A Self Regularized Non-Monotonic Activation Function
1909.09347 (2019-09)
MIMII Dataset: Sound Dataset for Malfunctioning Industrial Machine Investigation and Inspection
and 2 more not named here
apply_with_random_selector 3 other papers
1 dated earlier, 2 later
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
1806.03287 (2018-06)
Slalom: Fast, Verifiable and Private Execution of Neural Networks in Trusted Hardware
1905.03670 (2019-05)
S4L: Self-Supervised Semi-Supervised Learning
distort_color 3 other papers
1 dated earlier, 2 later
1512.02325 (2015-12)
SSD: Single Shot MultiBox Detector
1806.03287 (2018-06)
Slalom: Fast, Verifiable and Private Execution of Neural Networks in Trusted Hardware
1905.03670 (2019-05)
S4L: Self-Supervised Semi-Supervised Learning
distorted_bounding_box_crop 2 other papers
2 later
1806.03287 (2018-06)
Slalom: Fast, Verifiable and Private Execution of Neural Networks in Trusted Hardware
1905.03670 (2019-05)
S4L: Self-Supervised Semi-Supervised Learning
preprocess_input 1 other paper
1 later
1710.07557 (2017-10)
Real-time Convolutional Neural Networks for Emotion and Gender Classification
reduced_kernel_size_for_small_input 1 other paper
1 later
1911.08299 (2019-11)
Learning Modulated Loss for Rotated Object Detection

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

More are linked than shown here.

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

Abstract

We present an interpretation of Inception modules in convolutional neural networks as being an intermediate step in-between regular convolution and the depthwise separable convolution operation (a depthwise convolution followed by a pointwise convolution). In this light, a depthwise separable convolution can be understood as an Inception module with a maximally large number of towers. This observation leads us to propose a novel deep convolutional neural network architecture inspired by Inception, where Inception modules have been replaced with depthwise separable convolutions. We show that this architecture, dubbed Xception, slightly outperforms Inception V3 on the ImageNet dataset (which Inception V3 was designed for), and significantly outperforms Inception V3 on a larger image classification dataset comprising 350 million images and 17,000 classes. Since the Xception architecture has the same number of parameters as Inception V3, the performance gains are not due to increased capacity but rather to a more efficient use of model parameters.

For agents

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

get_harvested_code_for_paper("1610.02357")
get_code_for_paper("1610.02357")
have("1610.02357")

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

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

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

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

Connect an agent — have() is free.