fix dist_sampler AttributeError (#2918)

pull/2922/head
zxcd 2 years ago committed by GitHub
parent acfa057dc7
commit 17a7ebddfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -464,5 +464,5 @@ class DataLoaderFactory():
subsampling_factor=config.subsampling_factor,
load_aux_output=config.get('load_transcript', None),
num_encs=config.num_encs,
dist_sampler=config.dist_sampler,
dist_sampler=config.get('dist_sampler', None),
shortest_first=config.shortest_first)

Loading…
Cancel
Save