File size: 946 Bytes
901a5f5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[project]
name = "pixelmodel-v4-image-codec-study"
version = "0.1.0"
description = "Research archive for PixelModel-v4 weight-image codec robustness experiments"
requires-python = ">=3.11,<3.12"
dependencies = [
    "numpy",
    "pillow",
    "pandas",
    "matplotlib",
    "scikit-image",
    "pytest",
    "ruff",
    "torch",
    "diffusers==0.31.0",
    "transformers==4.49.0",
    "safetensors",
    "torchmetrics",
    "torch-fidelity",
    "scipy",
    "accelerate>=1.14.0",
]

[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["scripts"]

[tool.ruff]
line-length = 120
target-version = "py311"
exclude = [
    "scripts/cross_codec_report.py",
    "scripts/dit.py",
    "scripts/pixelmodel_robustness/**",
    "tests/test_cross_codec.py",
    "tests/test_cross_codec_experiment.py",
    "tests/test_cross_codec_report.py",
    "tests/test_jpeg_repair.py",
    ".venv",
    ".pytest_cache",
    ".ruff_cache",
    "scratch",
]