You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is a collection of measures and metrics for image quality assessment in various image processing tasks such as denoising, super-resolution, image interpolation, etc. It relies heavily on [PyTorch](https://github.com/pytorch/pytorch) and takes advantage of its efficiency and automatic differentiation.
4
4
5
-
It should noted that `spiq` is directly inspired from the [`piq`](https://github.com/photosynthesis-team/piq) project. However, it focuses on the conciseness, readability and understandability of its (sub-)modules, such that anyone can freely and easily reuse and/or adapt them to its needs.
5
+
It should noted that `piqa` is directly inspired from the [`piq`](https://github.com/photosynthesis-team/piq) project. However, it focuses on the conciseness, readability and understandability of its (sub-)modules, such that anyone can freely and easily reuse and/or adapt them to its needs.
6
+
7
+
> `piqa` should be pronounced *pika* (like Pikachu β‘οΈ)
6
8
7
9
## Installation
8
10
9
-
To install the current version of `spiq`,
11
+
The `piqa` package is available on [PyPI](https://pypi.org/project/piqa/), which means it is installable with `pip`:
12
+
13
+
```bash
14
+
pip install piqa
15
+
```
16
+
17
+
Alternatively, if you need the lastest features, you can install it using
10
18
11
19
```bash
12
-
git clone https://github.com/francois-rozet/spiq
13
-
cdspiq
20
+
git clone https://github.com/francois-rozet/piqa
21
+
cdpiqa
14
22
python setup.py install
15
23
```
16
24
17
-
You can also copy the package directly to your project.
25
+
or copy the package directly to your project, with
18
26
19
27
```bash
20
-
git clone https://github.com/francois-rozet/spiq
21
-
cdspiq
22
-
cp -R spiq<path/to/project>/spiq
28
+
git clone https://github.com/francois-rozet/piqa
29
+
cdpiqa
30
+
cp -R piqa<path/to/project>/piqa
23
31
```
24
32
25
33
## Getting started
26
34
27
35
```python
28
36
import torch
29
-
importspiq.psnr as psnr
30
-
importspiq.ssim as ssim
37
+
importpiqa.psnr as psnr
38
+
importpiqa.ssim as ssim
31
39
32
40
x = torch.rand(3, 3, 256, 256)
33
41
y = torch.rand(3, 3, 256, 256)
@@ -42,6 +50,6 @@ l = criterion(x, y)
42
50
43
51
## Documentation
44
52
45
-
The [documentation](https://francois-rozet.github.io/spiq/) of this package is generated automatically using [`pdoc`](https://github.com/pdoc3/pdoc).
53
+
The [documentation](https://francois-rozet.github.io/piqa/) of this package is generated automatically using [`pdoc`](https://github.com/pdoc3/pdoc).
46
54
47
55
> The code follows the [Google Python style](https://google.github.io/styleguide/pyguide.html) and is compliant with [YAPF](https://github.com/google/yapf).
0 commit comments