"Gated Fusion Network for Image Deblurring and Super-Resolution"
- Git clone this repository.
$git clone https://github.com/max-vasyuk/GFN.git
$cd GFN
-
Download the trained model
model_gfn.pkl
from here and move the model toGFN/models
folder. -
Create class TestModel with path to model.
from inference import TestModel
tm = TestModel(*path_to_model*)
- Execute function of prediction for inference.
tm.predict('test.jpeg')
- The result will be in the root with the input image in
result/
folder.