When sampling 3D cubes like this
dataset = SeismicDataset(index={segy_path: horizon_path}, labels_class=Horizon) sampler = SeismicSampler(labels=dataset.labels, crop_shape=(50, 100, 20), mode='horizon') pipeline = ( Pipeline(dataset) .make_locations(generator=sampler, batch_size=10) .load_seismic(dst='cubes') .create_masks(dst='masks', width=5) )
the crosslines crops have empty cube.
This only effect the seismic cube - the mask sampled as expected.
When sampling 3D cubes like this
dataset = SeismicDataset(index={segy_path: horizon_path}, labels_class=Horizon) sampler = SeismicSampler(labels=dataset.labels, crop_shape=(50, 100, 20), mode='horizon') pipeline = ( Pipeline(dataset) .make_locations(generator=sampler, batch_size=10) .load_seismic(dst='cubes') .create_masks(dst='masks', width=5) )the crosslines crops have empty cube.
This only effect the seismic cube - the mask sampled as expected.