Deep Learning, Sora, Computer Vision, Transformers, Attention.
chunks(x, sz): for i in range(0, len(x), sz): yield x[i:i+sz] nimgs = imgs[ar.argsort()] bimgs = fc.L(chunks(nimgs, sz=4)) bimg = bimgs[np.random.randint(len(bimgs))] #(#1250) bimg #[Path('coco/val2017/000000042102.jpg'), Path('coco/val2017/000000452515.jpg'), Path('coco/val2017/000000342971.jpg'),