Update component initializers
This commit is contained in:
parent
acd4ac6a86
commit
36a330aa66
@ -101,6 +101,10 @@ class ClassAwareInitializer(ComponentsInitializer):
|
|||||||
]
|
]
|
||||||
return torch.vstack(samples_list)
|
return torch.vstack(samples_list)
|
||||||
|
|
||||||
|
def __del__(self):
|
||||||
|
del self.data
|
||||||
|
del self.labels
|
||||||
|
|
||||||
|
|
||||||
class StratifiedMeanInitializer(ClassAwareInitializer):
|
class StratifiedMeanInitializer(ClassAwareInitializer):
|
||||||
def __init__(self, arg):
|
def __init__(self, arg):
|
||||||
|
Loading…
Reference in New Issue
Block a user