SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1605.08104 · 2016

Deep Predictive Coding Networks for Video Prediction and Unsupervised Learning

arXiv · PDF · Open in the Atlas

Code that ran

3 of 6 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 3 have no contract verdict; 0 failures of our instrument; 3 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/1605.08104.json · badge: /api/ran/1605.08104.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
jhon-zelada/proyect community (classifier label)
classifier basis not recorded on the link
1 ran · 1 no recorded run
microsoft/MLOps_VideoAnomalyDetection community (classifier label)
classifier basis not recorded on the link
1 ran · 1 no recorded run
IcarusWizard/prednet-paddle community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
coxlab/prednet community (classifier label)
classifier basis not recorded on the link
0 ran · 1 no recorded run
FunctionStatusWhere it lives
load_gif Ran
ran on a synthesized input
IcarusWizard/prednet-paddle/utils.py
code served (permissive licence) · get_code("1aece28aec3ebd30")
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
from PIL import Image
import io

# Create a minimal GIF in memory for testing
def create_test_gif():
    """Create a simple 2-frame GIF and return as bytes"""
    frames = []
    for i in range(2):
        # Create a small 4x3 RGB image
        img_array = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
        img = Image.fromarray(img_array, 'RGB')
        frames.append(img)
    
    # Save to bytes buffer
    buffer = io.BytesIO()
    frames[0].save(
        buffer,
        format='GIF',
        save_all=True,
        append_images=frames[1:],
        duration=100,
        loop=0
    )
    buffer.seek(0)
    return buffer.getvalue()

# Write test GIF to a temporary file path
import tempfile
import os

temp_dir = tempfile.gettempdir()
test_gif_path = os.path.join(temp_dir, 'test_load_gif.gif')

gif_bytes = create_test_gif()
with open(test_gif_path, 'wb') as f:
    f.write(gif_bytes)

ARGS = {
    'path': test_gif_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, 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
process_im Ran
ran on a synthesized input
jhon-zelada/proyect/data_preparation.py
pointer only (licence: MIT) · get_code("a6ccdb74a8f5c40d")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, jhon-zelada/proyect, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

process_im Ran
ran on a synthesized input
microsoft/MLOps_VideoAnomalyDetection/data_preparation.py
code served (permissive licence) · get_code("56120e6b0dd1dcd4")
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 Image. 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.

from PIL import Image
import numpy as np

# Create a small test image
image_array = np.random.randint(0, 256, (100, 80, 3), dtype=np.uint8)
im = Image.fromarray(image_array, mode='RGB')

# Define desired image size as [height, width]
desired_im_sz = [50, 60]

ARGS = {
    'im': im,
    'desired_im_sz': desired_im_sz,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
extrap_loss Not yet run
unverified (harvested, no recorded run)
coxlab/prednet/kitti_extrap_finetune.py
code served (permissive licence) · get_code("2d25e8a5c964ab05")
How it ran

no invocation recorded.

run Not yet run
unverified (harvested, no recorded run)
jhon-zelada/proyect/deployment/score.py
pointer only (licence: MIT) · get_code("b1266bac1a8f0c3a")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, jhon-zelada/proyect, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

run Not yet run
unverified (harvested, no recorded run)
microsoft/MLOps_VideoAnomalyDetection/deployment/score.py
code served (permissive licence) · get_code("fed7e777b099718c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 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.

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

While great strides have been made in using deep learning algorithms to solve supervised learning tasks, the problem of unsupervised learning - leveraging unlabeled examples to learn about the structure of a domain - remains a difficult unsolved challenge. Here, we explore prediction of future frames in a video sequence as an unsupervised learning rule for learning about the structure of the visual world. We describe a predictive neural network ("PredNet") architecture that is inspired by the concept of "predictive coding" from the neuroscience literature. These networks learn to predict future frames in a video sequence, with each layer in the network making local predictions and only forwarding deviations from those predictions to subsequent network layers. We show that these networks are able to robustly learn to predict the movement of synthetic (rendered) objects, and that in doing so, the networks learn internal representations that are useful for decoding latent object parameters (e.g. pose) that support object recognition with fewer training views. We also show that these networks can scale to complex natural image streams (car-mounted camera videos), capturing key aspects of both egocentric movement and the movement of objects in the visual scene, and the representation learned in this setting is useful for estimating the steering angle. Altogether, these results suggest that prediction represents a powerful framework for unsupervised learning, allowing for implicit learning of object and scene structure.

For agents

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

get_harvested_code_for_paper("1605.08104")
get_code_for_paper("1605.08104")
have("1605.08104")

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

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

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

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

Connect an agent — have() is free.