In line 412 of influence_function.py:
# Assuming that full_train_dataloader has only one batchiter_number = math.ceil(len(full_train_dataloader) * self.precompute_data_ratio)
If full_train_loader has one batch the length returns one and thus no matter what ratio is provided full data will be precomputed. Not sure if this is intended.
In line 412 of
influence_function.py
:# Assuming that full_train_dataloader has only one batch
iter_number = math.ceil(len(full_train_dataloader) * self.precompute_data_ratio)
Iffull_train_loader
has one batch the length returns one and thus no matter what ratio is provided full data will be precomputed. Not sure if this is intended.