code: def from_similars(cls, learn, layer_ls:list=[0, 7, 2], **kwargs):
          "Gets the indices for the most similar images."
          train_ds, train_idxs = cls.get_similars_idxs(learn, layer_ls, **kwargs)
          return train_ds, train_idxf from_similars(cls, learn, layer_ls:list=[0, 7, 2], **kwargs):
          "Gets the indices for the most similar images."
          train_ds, train_idxs = cls.get_similars_idxs(learn, layer_ls, **kwargs)
          return train_ds, train_idxs
docs: Gets the indices for the most similar images.