Skip to content

Fix non deterministic incremental inference #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 6, 2018
Merged

Conversation

r9y9
Copy link
Owner

@r9y9 r9y9 commented Feb 6, 2018

I forgot to clear buffer property.. Add regression tests.

Results:

> nosetests  --nocapture -v tests -a "issue38"                                                                                                                                 
test_deepvoice3.test_incremental_path_multiple_times ... Variable containing:
 0
[torch.FloatTensor of size 1]
 Variable containing:
 0
[torch.FloatTensor of size 1]

Variable containing:
 0
[torch.FloatTensor of size 1]
 Variable containing:
 0
[torch.FloatTensor of size 1]

ok
test_nyanko.test_incremental_path_multiple_times ... Variable containing:
 0
[torch.FloatTensor of size 1]
 Variable containing:
 0
[torch.FloatTensor of size 1]

ok

----------------------------------------------------------------------
Ran 2 tests in 11.017s

OK

r9y9 added 3 commits February 7, 2018 00:08
forgot to clear buffer property

ref #38
also remove local_only attribute for incremental inference tests
@r9y9 r9y9 merged commit 1be4f8e into master Feb 6, 2018
@r9y9 r9y9 deleted the fix-non-deterministic branch February 6, 2018 15:44
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.

1 participant