TransductiveExtractor#
- class ts3.models.transductive.TransductiveExtractor(pretrain_ckpt, seed, ckpt_dir, filters=None, csv_path=None)[source]#
Bases:
ts3.models.base.Extractor- property name: str#
Names the embeddings file, so two runs of one model do not overwrite each other.
- property run_seed: int | None#
The seed of the run behind these embeddings, or None when no run produced them.
- setup(data_root, device, logger)[source]#
Bind the run’s context. Override to load checkpoints once, not per regime.
- Return type:
- abstract read(state_dict, dataset, uids)[source]#
Embeddings for
uidsout of one checkpoint’s weights, and the uids they match.