You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This implementation for ConcatDataset forks fine in itself, but it breaks when used in recursive instantiation, because it returns not just "target", but ["tf1", "tf2", "target"] instead.
Intuitive solution to that problem would be scoped defaults that syntactically could be defined by underscore so my config looked like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to reuse augmentations/transforms configs for multiple datasets in torch ConcatDataset. For single dataset it would look the following:
But for ConcatDataset I would need list of datasets:
This implementation for ConcatDataset forks fine in itself, but it breaks when used in recursive instantiation, because it returns not just "target", but ["tf1", "tf2", "target"] instead.
Intuitive solution to that problem would be scoped defaults that syntactically could be defined by underscore so my config looked like:
May be I missed smth in docs and this behaviour is already achievable with current hydra functionality, point me to the right place then, please.
Beta Was this translation helpful? Give feedback.
All reactions