Skip to content

Conversation

@jonasvdd
Copy link
Contributor

@jonasvdd jonasvdd commented Nov 25, 2022

It is not a big PR, but at least it is honest work πŸ˜…

This PR:

  • adjusts the wrongfully typed boundary argument (was set to str type, but must be torch.Tensor).
  • homogenizes the tensor type-hints to be all of the type torch.Tensor which is more correct. See πŸ“· ⬇️

image

inputs = [
{
"text_sequences": torch.tensor(
"text_sequences": torch.Tensor(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops. Accidentally altered this one. Will fix it in a new commit.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fixed now!

@jonasvdd
Copy link
Contributor Author

In f372dff, I fix some more typos throughout the whole interfaces.py file! πŸ˜„

Copy link
Collaborator

@Adel-Moumen Adel-Moumen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Thanks a lot for the PR, you did a great job! I wish you an happy new year :-)

@Adel-Moumen Adel-Moumen merged commit 8235fd1 into speechbrain:develop Dec 27, 2022
@jonasvdd
Copy link
Contributor Author

@Adel-Moumen

Happy holidays for you as well! πŸŽ‰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants