Update README.md
Browse files
README.md
CHANGED
@@ -13,8 +13,8 @@ tags:
|
|
13 |
MIRNet-based low-light image enhancer specialized on restoring dark images from events (concerts, parties, clubs...).
|
14 |
|
15 |
## Project source-code and further documentation
|
16 |
-
Documentation about pre-training, fine-tuning, model architecture, usage and all source code used for building and inference can be found in the [GitHub repository of the project](https://github.com/dblasko/low-light-event-img-enhancer/).
|
17 |
-
This currently stores the PyTorch model weights and model definition, a HuggingFace pipeline will be implemented in the future.
|
18 |
|
19 |
## Using the model
|
20 |
To use the model, you need to have the `model` folder, that you can dowload from this repository as well as on [GitHub](https://github.com/dblasko/low-light-event-img-enhancer/), present in your project folder.
|
@@ -24,7 +24,7 @@ Then, the following code can be used to download the model weights from HuggingF
|
|
24 |
import torch
|
25 |
import torchvision.transforms as T
|
26 |
from PIL import Image
|
27 |
-
from huggingface_hub import
|
28 |
from model.MIRNet.model import MIRNet
|
29 |
|
30 |
device = (
|
|
|
13 |
MIRNet-based low-light image enhancer specialized on restoring dark images from events (concerts, parties, clubs...).
|
14 |
|
15 |
## Project source-code and further documentation
|
16 |
+
Documentation about pre-training, fine-tuning, model architecture, usage and all source code used for building and inference can be found in the [GitHub repository of the project](https://github.com/dblasko/low-light-event-img-enhancer/).
|
17 |
+
This page currently stores the PyTorch model weights and model definition, a HuggingFace pipeline will be implemented in the future.
|
18 |
|
19 |
## Using the model
|
20 |
To use the model, you need to have the `model` folder, that you can dowload from this repository as well as on [GitHub](https://github.com/dblasko/low-light-event-img-enhancer/), present in your project folder.
|
|
|
24 |
import torch
|
25 |
import torchvision.transforms as T
|
26 |
from PIL import Image
|
27 |
+
from huggingface_hub import hf_hub_download
|
28 |
from model.MIRNet.model import MIRNet
|
29 |
|
30 |
device = (
|