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
Leaving this as a note for now, will update with more info shortly.
Todo:
Have settings/assumptions as "wrappers" around other settings: transition from a "is-a" (inheritance) to a "has-a" (composition) approach.
For example:
my_setting=TaskIncremental(
SemiSupervised(
Cifar10(data_dir="/data"),
labeled_fraction=0.5,
),
num_tasks=5,
)
# Ideally, have a custom __instancecheck__ for these wrappers, so that we can have this:isinstance(my_setting, TaskIncremental) # Trueisinstance(my_setting, SemiSupervised) # Trueisinstance(my_setting, Cifar10) # True
The ordering of these "wrapper functions" shouldn't have any effect.
They would also be singledispatch callables, so that we can register handlers for different environments or for SL / RL.
Ideally directly accept:
a Scenario from Continuum
a DataModule of some sort from pytorch-lightning-bolts
and adapt them into the required kind of setting.
The text was updated successfully, but these errors were encountered:
Leaving this as a note for now, will update with more info shortly.
Todo:
For example:
and adapt them into the required kind of setting.
The text was updated successfully, but these errors were encountered: