fix: set attributes to config
Browse files- ornithoscope.py +3 -0
ornithoscope.py
CHANGED
@@ -45,6 +45,9 @@ class OrnithoscopeConfig(datasets.BuilderConfig):
|
|
45 |
"""
|
46 |
super().__init__(version=datasets.Version("1.0.0"), **kwargs)
|
47 |
self.classes = classes
|
|
|
|
|
|
|
48 |
|
49 |
|
50 |
class Ornithoscope(datasets.GeneratorBasedBuilder):
|
|
|
45 |
"""
|
46 |
super().__init__(version=datasets.Version("1.0.0"), **kwargs)
|
47 |
self.classes = classes
|
48 |
+
self.train_json = train_json
|
49 |
+
self.validation_json = validation_json
|
50 |
+
self.test_json = test_json
|
51 |
|
52 |
|
53 |
class Ornithoscope(datasets.GeneratorBasedBuilder):
|