Comments (6)
Generally this error arises when your training directory is wrong or the tfrecords are actually empty files. Check your command line argument for the directory of your tfrecords. If the directory is correct, try previewing one: python data/preview_tfrecord.py examples-00-of-64.tfrecord ./
from wavegan.
I had the same issue and in my case, I was using the actual tf.record file as the input instead of the folder where the files are.
This is ok:
python3 data/preview_tfrecord.py ./data/piano/train-0-of-8.tfrecord ./
This gives the error described in this issue:
python3 train_wavegan.py train ./train --data_dir data/piano/train-0-of-8.tfrecord
This is ok:
python3 train_wavegan.py train ./train --data_dir data/piano
Hope this helps.
Btw, why are you creating several tf.records instead of a big one?
from wavegan.
I am facing the same problem with a dataset I created, how did you solve this?
I don't think it's empty my file because I had that issue and I solved it installing ffmpeg (as suggested in some issue here). And I'm using the folder not the actual file.
Thanks for the help.
from wavegan.
If you are facing this issue still, I would strongly recommend pulling in the latest v2 update that we just released. This allows you to train a WaveGAN directly on a folder from MP3s/WAVs/OGGs/etc. Requires librosa (for MP3s/OGGs) or scipy (for WAVs).
from wavegan.
Hi!
Thanks for the advice and sorry for the inconvenience. I downladed the updated version and tried to start the training using python 3.6 without gpu. It starts so I assume I can read successfully the dataset directly from WAVs.
Then I tried with gpu using python 3.6
This is the error I obtain:
dataset = tf.data.Dataset.from_tensor_slices(fps)
AttributeError: module 'tensorflow' has no attribute 'data'
from wavegan.
I'm not sure. It sounds like you might not have the latest version of TF installed. Try pip install --upgrade tensorflow-gpu. Otherwise I would Google around for that specific error because it doesn't seem related to the WaveGAN code itself.
from wavegan.
Related Issues (20)
- Transfer Learning using pre-trained checkpoints HOT 2
- Invalid argument: You must feed a value for placeholder tensor 'ngl' with dtype int32 HOT 2
- Can we change (increase) amount of training data in between sessions?
- Last layer of the generator in the CNN (size 16384) HOT 1
- Tensorflow2.4 support HOT 5
- Multi-channel audio doesn't work with --data_num_channels 2 in Jupyter Lab HOT 1
- Can you fix collab
- Generate MFCC
- Can't get this to run anymore - Need information on environment
- Single-frequency noisy sound in the result HOT 4
- Reading WaveGAN models using Tensorflow C API
- Code for continue training model from last ckpt? HOT 1
- Training starts but no updates are dumping to checkpoints? HOT 1
- Training higher quality audio for ~5 seconds
- Overtraining HOT 2
- Can't train the model
- Can't run HOT 4
- OSS License compatibility question
- Massive Tensorflow Error Message When Attempting to Train WaveGAN
- shuffle buffer size is 4096 but I wish to use a dataset of 49k+ samples?
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 wavegan.