def prepare_cell_line_features(cell_line_names, params, inputs, device=None): cfeat_names = [f['name'] for f in params.cell_line_features] fields = ['norm ...
"""Build the text prompt for the text encoder.""" caption = sample.get_training_prompt(tag_position, use_genre=use_genre) metas_str = build_metas_str(sample) return ...