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

Method get_text_encoding_strategy

train_network.py:197–198  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

195 return latents_caching_strategy
196
197 def get_text_encoding_strategy(self, args):
198 return strategy_sd.SdTextEncodingStrategy(args.clip_skip)
199
200 def get_text_encoder_outputs_caching_strategy(self, args):
201 return None

Callers 2

trainMethod · 0.95
test_get_strategiesFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_get_strategiesFunction · 0.36