MCPcopy
hub / github.com/facebookresearch/mmf / _get_available_datasets

Method _get_available_datasets

pythia/tasks/base_task.py:139–148  ·  view source on GitHub ↗

Set available datasets for this task here. Override in your child task class Temporary solution, later we will use decorators to easily register datasets with a task Returns: List - List of available datasets for this particular task

(self)

Source from the content-addressed store, hash-verified

137 self.change_dataset()
138
139 def _get_available_datasets(self):
140 """Set available datasets for this task here.
141 Override in your child task class
142 Temporary solution, later we will use decorators to easily register
143 datasets with a task
144
145 Returns:
146 List - List of available datasets for this particular task
147 """
148 return []
149
150 def get_datasets(self):
151 return self.datasets

Callers 2

_process_datasetsMethod · 0.95
loadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected