-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
This actually would not work for any other folder name for the TreeDataset. For instance, if the folder is named 'videos'
Here is how this is solved inside neuropredictors for now. I would propose such a modification also to keep it back compatible.
`def init(self, data, stats_source="all", exclude=None, inputs_mean=None, inputs_std=None,
in_name=None, out_name=None, eye_name=None):
self.exclude = exclude or []
if in_name is None:
in_name = "images" if "images" in data.statistics.keys() else "inputs"
if out_name is None:
out_name = "responses" if "responses" in data.statistics.keys() else "targets"
if eye_name is None:
eye_name = "pupil_center" if "pupil_center" in data.data_keys else "eye_position"`
Metadata
Metadata
Assignees
Labels
No labels