Skip to content
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

Cleanup pr 331 #366

Merged
60 commits merged into from Jun 22, 2020
Merged

Cleanup pr 331 #366

60 commits merged into from Jun 22, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jun 22, 2020

This is a very carefully cleaned up version of #331. It implements suggestions provided by @CorentinJ and removes unnecessary changes for ease of review.

Thanks to @pusalieth for the original implementation of these changes for CPU support.

- produced weird autio clip thought
remove eof
print to console when using cpu
nothing other than wav works, even though comment says it does...
just in case people use quotes
(functions untoched, just variables)
-exclude .gz
-- need to run on native linux
-- issue with spaces in path for input file

Testing:
-- remove all packages from requirements that aren't
neccesary for demo_cli.py.  Slowly add them back in.
tested demo_toolbox.py
working synthesis and vocode
- fpath fix for load from file
- updated calls for librosa 0.8.0 (changed wav write to file)
- partial update for tensorflow 2.0 api
compatible with tensorflow v2 api

-- big issue --
The RNN model makes heavy usage of tf.contrib, which was dropped in v2.
All the methods were changed, variables, etc.
Will require extensive rework. Possible rewrite.
-- grammar
-- easier to understand
-- better instructions for usage
-- spelling corrections
-- formatting
-- formatting
-- tested from scratch on google compute
@ghost ghost mentioned this pull request Jun 22, 2020
Copy link
Owner

@CorentinJ CorentinJ left a comment

Choose a reason for hiding this comment

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

Awesome 👍

@ghost ghost merged commit 1b8d2e7 into CorentinJ:master Jun 22, 2020
@ghost ghost deleted the cleanup_pr_331 branch June 24, 2020 12:58
@JokerYan
Copy link

torch.cpu.synchronize(device)

The torch.cpu is giving me "AttributeError: module 'torch' has no attribute 'cpu'"

This pull request was closed.
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.

3 participants