Comments (4)
One other issue:
Generate audio from text
Clicking on "laughing" produces:
NameError: name 'widgets' is not defined
This happens because you're using widgets before you import it (which happens in the next cell below). So the line
import ipywidgets as widgets
should be moved upward.
from word2wave.
Hi Scott, thank you for reporting this!
I have updated the notebook and all the above issues should now be solved.
A summary of the changes:
- The notebook was previously written assuming users would first train their own WaveGAN models. I realise this would be an unnecessary barrier to playing around with the notebook straight away, so a few of the models I trained can now be found in a pre-release. The notebook now has code that automatically downloads the weights from there and imports them to Colab upon running the cell, without any further input from the user. Custom WaveGAN models can still be imported via Google Drive if the weights are uploaded to a folder and the path copied into the text box in the cell:
drive_path = "" #@param {type:"string"}
if drive_path:
!cp -r -v {drive_path} "/content/word2wave/"
else:
!mkdir "/content/word2wave/wavegan/"
%cd /content/word2wave/wavegan/
!wget https://github.com/ilaria-manco/word2wave/releases/download/0.1/gan_fs_loop_3.tar
!wget https://github.com/ilaria-manco/word2wave/releases/download/0.1/gan_fs_loop_4.tar
!wget https://github.com/ilaria-manco/word2wave/releases/download/0.1/gan_drum.tar
%cd /content/word2wave/
- Changed
check_text_input(text)
to take an instance of the Word2Wave class as an additional argument. This solves thename 'word2wave' is not defined
error - Moved
import ipywidgets as widgets
to the previous cell
I will add some further documentation to make it more intuitive as soon as I have time, but hopefully the above changes help for now. Let me know if there are any other issues.
from word2wave.
Ilaria, thanks for your reply! I ended up really busy this week and haven't yet had a chance to try out your revised notebook. Based on the changes you describe, I'll leave it up to you as to whether you want to keep this Issue open until I get a chance to try the notebook or close this Issue right now anyway. Thanks!
from word2wave.
I'll close it for now, but please feel free to open a new one if you notice any other issue. Thank you!
from word2wave.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from word2wave.