Skip to content

TypeError: 'float' object cannot be interpreted as an integer #34

Description

@GrahamboJangles

Windows 10, python 3.6.3

Full error when trying to run main.py:

 Using TensorFlow backend.
 Traceback (most recent call last):
   File "\speech-denoising-wavenet-master\main.py", line 169, in <module>
     main()
   File "speech-denoising-wavenet-master\main.py", line 163, in main
     training(config, cla)
   File "\speech-denoising-wavenet-master\main.py", line 72, in training
     model = models.DenoisingWavenet(config, load_checkpoint=cla.load_checkpoint, print_model_summary=cla.print_model_summary)
   File "speech-denoising-wavenet-master\models.py", line 50, in __init__
     self.samples_of_interest_indices = self.get_padded_target_field_indices()
   File "speech-denoising-wavenet-master\models.py", line 184, in get_padded_target_field_indices
     target_sample_index + self.half_target_field_length + self.target_padding + 1)
 TypeError: 'float' object cannot be interpreted as an integer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions