Skip to content

Commit

Permalink
remove debug code from w2vu gen (facebookresearch#1997)
Browse files Browse the repository at this point in the history
Summary:
see title

Pull Request resolved: fairinternal/fairseq-py#1997

Reviewed By: wnhsu, Alexander-H-Liu

Differential Revision: D29371459

Pulled By: alexeib

fbshipit-source-id: 874e36462f919aa4ba698a0dd49531c89f7e27cf
  • Loading branch information
Alexander-H-Liu authored and facebook-github-bot committed Jun 24, 2021
1 parent 7818f61 commit 520d9d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/wav2vec/unsupervised/w2vu_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,6 @@ def build_generator(cfg: UnsupGenerateConfig):
)
hypo_futures.append(hypos)
samples.append(sample)
if cfg.debug:
break
itr = list(zip(hypo_futures, samples))
start = 0
end = len(itr)
Expand Down

0 comments on commit 520d9d3

Please sign in to comment.