asahi417 commited on
Commit
6ed6214
1 Parent(s): 2608d98
Files changed (1) hide show
  1. tokenizer_encodec.py +0 -1
tokenizer_encodec.py CHANGED
@@ -87,7 +87,6 @@ class BaseEncodecTokenizer:
87
  # tokenize by chunk in a sequential manner
88
  for offset in tqdm(list(range(0, input_length - chunk_length + stride, stride))):
89
  frame = wav[:, :1, offset: offset + chunk_length]
90
- print(frame.shape)
91
  tmp_tokens, _ = self.codec_model.encode(frame.to(self.device))
92
  offset_latent = int(offset / self.sample_per_token)
93
  tmp_tokens = tmp_tokens.to("cpu") if cpu_offload else tmp_tokens.to(original_device)
 
87
  # tokenize by chunk in a sequential manner
88
  for offset in tqdm(list(range(0, input_length - chunk_length + stride, stride))):
89
  frame = wav[:, :1, offset: offset + chunk_length]
 
90
  tmp_tokens, _ = self.codec_model.encode(frame.to(self.device))
91
  offset_latent = int(offset / self.sample_per_token)
92
  tmp_tokens = tmp_tokens.to("cpu") if cpu_offload else tmp_tokens.to(original_device)