Remove deprecated tasks
#1
by
albertvillanova HF Staff - opened
- rock_paper_scissors.py +0 -2
rock_paper_scissors.py
CHANGED
|
@@ -18,7 +18,6 @@ import re
|
|
| 18 |
from pathlib import Path
|
| 19 |
|
| 20 |
import datasets
|
| 21 |
-
from datasets.tasks import ImageClassification
|
| 22 |
|
| 23 |
|
| 24 |
_CITATION = """\
|
|
@@ -52,7 +51,6 @@ class RockPaperScissors(datasets.GeneratorBasedBuilder):
|
|
| 52 |
supervised_keys=("file", "labels"),
|
| 53 |
homepage="http://laurencemoroney.com/rock-paper-scissors-dataset",
|
| 54 |
citation=_CITATION,
|
| 55 |
-
task_templates=[ImageClassification(image_file_path_column="file", label_column="labels", labels=sorted(tuple(_NAMES)))]
|
| 56 |
)
|
| 57 |
|
| 58 |
def _split_generators(self, dl_manager):
|
|
|
|
| 18 |
from pathlib import Path
|
| 19 |
|
| 20 |
import datasets
|
|
|
|
| 21 |
|
| 22 |
|
| 23 |
_CITATION = """\
|
|
|
|
| 51 |
supervised_keys=("file", "labels"),
|
| 52 |
homepage="http://laurencemoroney.com/rock-paper-scissors-dataset",
|
| 53 |
citation=_CITATION,
|
|
|
|
| 54 |
)
|
| 55 |
|
| 56 |
def _split_generators(self, dl_manager):
|