Datasets:
Eugene Siow
commited on
Commit
•
fa40766
1
Parent(s):
3c60ebd
Add update to eval code.
Browse files
README.md
CHANGED
@@ -75,8 +75,8 @@ from super_image.data import EvalDataset, EvalMetrics
|
|
75 |
|
76 |
dataset = load_dataset('eugenesiow/Div2k', 'bicubic_x2', split='validation')
|
77 |
eval_dataset = EvalDataset(dataset)
|
78 |
-
model = EdsrModel.from_pretrained(
|
79 |
-
EvalMetrics.evaluate(model, eval_dataset)
|
80 |
```
|
81 |
|
82 |
### Supported Tasks and Leaderboards
|
@@ -91,7 +91,7 @@ Unofficial [`super-image`](https://github.com/eugenesiow/super-image) leaderboar
|
|
91 |
|
92 |
### Languages
|
93 |
|
94 |
-
|
95 |
|
96 |
## Dataset Structure
|
97 |
|
@@ -132,7 +132,7 @@ The data fields are the same among all splits.
|
|
132 |
|
133 |
### Curation Rationale
|
134 |
|
135 |
-
[
|
136 |
|
137 |
### Source Data
|
138 |
|
|
|
75 |
|
76 |
dataset = load_dataset('eugenesiow/Div2k', 'bicubic_x2', split='validation')
|
77 |
eval_dataset = EvalDataset(dataset)
|
78 |
+
model = EdsrModel.from_pretrained('eugenesiow/edsr-base', scale=2)
|
79 |
+
EvalMetrics().evaluate(model, eval_dataset)
|
80 |
```
|
81 |
|
82 |
### Supported Tasks and Leaderboards
|
|
|
91 |
|
92 |
### Languages
|
93 |
|
94 |
+
Not applicable.
|
95 |
|
96 |
## Dataset Structure
|
97 |
|
|
|
132 |
|
133 |
### Curation Rationale
|
134 |
|
135 |
+
Please refer to the [Initial Data Collection and Normalization](#initial-data-collection-and-normalization) section.
|
136 |
|
137 |
### Source Data
|
138 |
|