Skip to content

Commit ba91353

Browse files
committed
initial
0 parents  commit ba91353

15 files changed

+1462
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Inference script for [Pixelization](https://github.com/WuZongWei6/Pixelization)
2+
All credit to those guys, I just stripped down thier code to make it simple to use.
3+
4+
## Usage
5+
```
6+
git clone https://github.com/arenatemp/pixelization_inference
7+
pip install pillow torch torchvision numpy
8+
```
9+
Download the pretrained models into the pixelization_inference folder:
10+
[pixelart_vgg19.pth](https://drive.google.com/file/d/1VRYKQOsNlE1w1LXje3yTRU5THN2MGdMM/view?usp=sharing)
11+
[aliasnet.pth](https://drive.google.com/file/d/17f2rKnZOpnO9ATwRXgqLz5u5AZsyDvq_/view?usp=sharing)
12+
[160_net_G_A.pth](https://drive.google.com/file/d/1i_8xL3stbLWNF4kdQJ50ZhnRFhSDh3Az/view?usp=sharing)
13+
```
14+
python pixelization.py --input input_file.png
15+
```

models/__init__.py

Whitespace-only changes.
143 Bytes
Binary file not shown.
11.6 KB
Binary file not shown.
8.85 KB
Binary file not shown.
7.57 KB
Binary file not shown.
9.7 KB
Binary file not shown.
2.39 KB
Binary file not shown.

0 commit comments

Comments
 (0)