Sampling Datasets
Implementation of samplers in TQL
How to sample datasets using Deep Lake's query engine
select * sample by weight_choice(expression_1: weight_1, expression_2: weight_2, ...)
replace True limit NExample Usage
import deeplake
import numpy as np
from matplotlib import pyplot as plt
ds = deeplake.load('hub://activeloop/nih-chest-xray-train')

Training Models on Sampled Views
Was this helpful?