MCPcopy
hub / github.com/kohya-ss/sd-scripts / get_strategy

Method get_strategy

library/strategy_base.py:49–50  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

47
48 @classmethod
49 def get_strategy(cls) -> Optional["TokenizeStrategy"]:
50 return cls._strategy
51
52 def _load_tokenizer(
53 self, model_class: Any, model_id: str, subfolder: Optional[str] = None, tokenizer_cache_dir: Optional[str] = None

Callers 15

sample_image_inferenceFunction · 0.45
trainFunction · 0.45
prepare_text_inputsFunction · 0.45
trainFunction · 0.45
trainFunction · 0.45
on_step_startMethod · 0.45
sample_imagesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected