magenta / ddsp

DDSP: Differentiable Digital Signal Processing
https://magenta.tensorflow.org/ddsp
Apache License 2.0
2.91k stars 337 forks source link

"NotImplementedError" #475

Closed zwrok closed 1 year ago

zwrok commented 2 years ago

Hi! When im trying to run training of a new model from colab autoencoder - i get this error :

> NotImplementedError: You must pass a "file_pattern" argument to the constructor or choose a FileDataProvider with a default_file_pattern.
>   In call to configurable 'TFRecordProvider' (<class 'ddsp.training.data.TFRecordProvider'>)

It is appearing few second after beginning of training. I didn't change anything in code except the google drive locations. Do you have any ideas how to get thru this?

zwrok commented 1 year ago

Okey, that was problem with gin parameter . It should have a format like this: --gin_param="TFRecordProvider.file_pattern='/content/drive/MyDrive/yout_path_to_filepattern/data/train.tfrecord*'" \

instead of "$TRAIN_TFRECORD_FILEPATTERN'