Update README.md
Browse files
README.md
CHANGED
|
@@ -43,7 +43,7 @@ It serves as a benchmark for performance for self-supervised models.
|
|
| 43 |
|
| 44 |
Use the code below to get started with the model.
|
| 45 |
|
| 46 |
-
```
|
| 47 |
from transformers import AutoModel
|
| 48 |
import torch
|
| 49 |
import torch.nn as nn
|
|
@@ -153,7 +153,7 @@ We have utilized the self-supervised learning framework called DINO. We pre-trai
|
|
| 153 |
|
| 154 |
We used three transforms mainly for preprocessing: SaturationNoiseInjector(), SelfImageNormalize(), Resize(224,224)
|
| 155 |
|
| 156 |
-
```
|
| 157 |
# Noise Injector transformation
|
| 158 |
class SaturationNoiseInjector(nn.Module):
|
| 159 |
def __init__(self, low=200, high=255):
|
|
|
|
| 43 |
|
| 44 |
Use the code below to get started with the model.
|
| 45 |
|
| 46 |
+
```python
|
| 47 |
from transformers import AutoModel
|
| 48 |
import torch
|
| 49 |
import torch.nn as nn
|
|
|
|
| 153 |
|
| 154 |
We used three transforms mainly for preprocessing: SaturationNoiseInjector(), SelfImageNormalize(), Resize(224,224)
|
| 155 |
|
| 156 |
+
```python
|
| 157 |
# Noise Injector transformation
|
| 158 |
class SaturationNoiseInjector(nn.Module):
|
| 159 |
def __init__(self, low=200, high=255):
|