MCPcopy Index your code
hub / github.com/XPixelGroup/DiffBIR / get_chunk

Function get_chunk

llava/eval/model_vqa_loader.py:25–27  ·  view source on GitHub ↗
(lst, n, k)

Source from the content-addressed store, hash-verified

23
24
25def get_chunk(lst, n, k):
26 chunks = split_list(lst, n)
27 return chunks[k]
28
29
30# Custom dataset class

Callers 1

eval_modelFunction · 0.70

Calls 1

split_listFunction · 0.70

Tested by

no test coverage detected