Skip to content

Commit

Permalink
compression.cc submission
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Jun 19, 2021
1 parent dae90f6 commit 74e0486
Show file tree
Hide file tree
Showing 5 changed files with 5,321 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clic-2021/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
images/
target/
clic_2021_perceptual_valid/
17 changes: 17 additions & 0 deletions clic-2021/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "clic-2021"
version = "0.1.0"
authors = ["Kornel <kornel@geekhood.net>"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.41"
concurrent_lru = "0.2.0"
csv = "1.1.6"
dssim-core = "3.1.0"
lodepng = "3.4.6"
rayon = "1.5.1"

[workspace]
21 changes: 21 additions & 0 deletions clic-2021/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Test tool for compression.cc

https://github.com/fab-jul/clic2021-devkit/blob/main/README.md#perceptual-challenge

## Usage

Download `clic_2021_perceptual_valid.zip` and decompress it to `clic_2021_perceptual_valid/` dir.

Run the `clic-2021` binary. It expects path to CSV as the first argument:

```rust
cargo run --release clic_2021_perceptual_valid/validation.csv
```

It will create `dssim3.csv` in the current directory.

```bash
cd clic_2021_perceptual_valid
python3 eval_csv.py --oracle_csv=oracle.csv --eval_csv=../dssim3.csv
```

Loading

0 comments on commit 74e0486

Please sign in to comment.