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

Method assert_token_string

train_textual_inversion.py:132–133  ·  view source on GitHub ↗
(self, token_string, tokenizers: CLIPTokenizer)

Source from the content-addressed store, hash-verified

130 return latents_caching_strategy
131
132 def assert_token_string(self, token_string, tokenizers: CLIPTokenizer):
133 pass
134
135 def get_text_encoding_strategy(self, args):
136 return strategy_sd.SdTextEncodingStrategy(args.clip_skip)

Callers 1

trainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected