RepoPilot

sjmoran/curl-image-enhancement

Code for the ICPR 2020 paper: "CURL: Neural Curve Layers for Image Enhancement"

Mixed

Stale — last commit 3y ago

ConcernsDependency

last commit was 3y ago; top contributor handles 93% of recent commits…

MixedFork & modify

no tests detected in the complete Git tree; no CI workflows detected…

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

last commit was 3y ago; no CI workflows detected…

  • Stale — last commit 3y ago
  • Single-maintainer risk — top contributor 93% of recent commits
  • No CI workflows detected
  • No tests detected in the complete Git tree
  • Scorecard: marked unmaintained (0/10)
  • 6 active contributors

What would improve this?

  • Use as dependency Concerns to Mixed if: 1 commit in the last 365 days
  • Fork & modify Mixed to Healthy if: add a test suite
  • Deploy as-is Mixed to Healthy if: 1 commit in the last 180 days

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: sjmoran/curl-image-enhancement

Generated by RepoPilot · document generated 2026-09-16 · concise human review Evidence snapshot · analyzed 2026-09-16T17:38:26.013Z · commit 4be9753a8063

Verdict

Mixed — Stale — last commit 3y ago

  • 6 active contributors

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard

What it is

CURL implements Neural Curve Layers for global image enhancement, a deep learning approach that learns per-pixel tone and color adjustments via differentiable curve operations. It trains on the Adobe5K dataset to enhance underexposed, overexposed, or color-cast images by predicting adjustment curves rather than direct pixel values, enabling efficient, interpretable enhancement without explicit brightening/saturation parameters. Flat single-directory structure: core training logic in main.py, model definition in model.py, dataset loading in data.py, metrics in metric.py, utilities in util.py. Two variant scripts (rgb_ted.py, raw_ted.py) handle RGB vs. RAW image pipelines. Pretrained models…

Start here

Open these first:

  • main.py — Entry point for training and inference; orchestrates data loading, model initialization, and optimization loop.
  • model.py — Defines the CURL neural network architecture with curve layers; core algorithmic implementation of the paper.
  • data.py — Handles dataset loading and preprocessing for Adobe DPE images; essential for reproducible training.
  • requirements.txt — Specifies PyTorch 1.7.1, torchvision 0.8.2, and image processing dependencies; batch size constraints depend on these…
  • metric.py — Implements PSNR and SSIM evaluation metrics used to validate model performance.

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

git clone https://github.com/sjmoran/curl-image-enhancement.git
cd curl-image-enhancement
pip install -r requirements.txt

Verify that torch==1.7.1 is compatible with your CUDA version before installation; older PyTorch versions may require manual CUDA toolkit specification.

Daily commands:

Training (batch size must be 1): python main.py (requires dataset paths in adobe5k_dpe/ and proper config). Inference: load pretrained model from pretrained_models/adobe_dpe/ and process images via Jupyter notebooks (…

…shortened for this brief.

Key cautions & unknowns

  • Stale — last commit 3y ago
  • Single-maintainer risk — top contributor 93% of recent commits
  • No CI workflows detected
  • CRITICAL: Batch size must be 1 in the main branch—attempting batch > 1 will fail silently or produce incorrect gradients. The curve adjustment computation assumes single-image processing. **CUDA/PyTorch version…
  • License evidence is incomplete or ambiguous.
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Great to learn from" badge

Paste into your README — live-updates from the latest cached analysis.

RepoPilot: Great to learn from
[![RepoPilot: Great to learn from](https://repopilot.app/api/badge/sjmoran/curl-image-enhancement?axis=learn)](https://repopilot.app/r/sjmoran/curl-image-enhancement)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/sjmoran/curl-image-enhancement on X, Slack, or LinkedIn.

Ask AI about sjmoran/curl-image-enhancement

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question
Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/sjmoran/curl-image-enhancement"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>