Update pidray-semantics.py
Browse files- pidray-semantics.py +0 -24
pidray-semantics.py
CHANGED
|
@@ -1,20 +1,3 @@
|
|
| 1 |
-
# coding=utf-8
|
| 2 |
-
# Copyright 2020 The TensorFlow Datasets Authors and the HuggingFace Datasets Authors.
|
| 3 |
-
#
|
| 4 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 5 |
-
# you may not use this file except in compliance with the License.
|
| 6 |
-
# You may obtain a copy of the License at
|
| 7 |
-
#
|
| 8 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
| 9 |
-
#
|
| 10 |
-
# Unless required by applicable law or agreed to in writing, software
|
| 11 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 12 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 13 |
-
# See the License for the specific language governing permissions and
|
| 14 |
-
# limitations under the License.
|
| 15 |
-
|
| 16 |
-
# Lint as: python3
|
| 17 |
-
|
| 18 |
|
| 19 |
import json
|
| 20 |
|
|
@@ -27,13 +10,6 @@ logger = datasets.logging.get_logger(__name__)
|
|
| 27 |
_URL = "https://huggingface.co/datasets/jaradat/pidray-semantics/resolve/main/pixel_values.tar.gz"
|
| 28 |
_URL2 = "https://huggingface.co/datasets/jaradat/pidray-semantics/resolve/main/label.tar.gz"
|
| 29 |
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
class pidraySemantics(datasets.GeneratorBasedBuilder):
|
| 38 |
|
| 39 |
def _info(self):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
import json
|
| 3 |
|
|
|
|
| 10 |
_URL = "https://huggingface.co/datasets/jaradat/pidray-semantics/resolve/main/pixel_values.tar.gz"
|
| 11 |
_URL2 = "https://huggingface.co/datasets/jaradat/pidray-semantics/resolve/main/label.tar.gz"
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
class pidraySemantics(datasets.GeneratorBasedBuilder):
|
| 14 |
|
| 15 |
def _info(self):
|