Open kcbuilder01 opened 4 years ago
Hmm, never seen that before. Do you have the file that you're trying to upload so we can reproduce?
here's the file, just a simple mp3 pluck sound, thanks! sound transfer test.mp3.zip
I just tried to run it inside google chrome and that step works there, but now when I go to the next step to upload my custom checkpoint folder I get this directory error:
`--------------------------------------------------------------------------- UnboundLocalError Traceback (most recent call last)
I just went through the whole process (including training a model) using the sample you uploaded. I was able to successfully upload the audio and a newly trained model and generate audio. I did get your error if the loading dialog was left open too long (it times-out automatically, which is unfortunate), but it worked fine if I just run the cell again and open the load dialog again.
thanks for your reply and for trying it out. should i be able to open my checkpoint folder on my desktop? When i try to, I get an error saying the directory or file cannot be found. I think my problem may be stemming from the checkpoint folder not downloading properly onto my machine, then when I reupload it in the timbre transfer demo, it doesnt work.
I'm also getting this error: UnboundLocalError: local variable 'model_dir' referenced before assignment when trying to upload my own model/checkpoint folder
The notebook has been tested with checkpoints / folders zipped from the other demo notebook train_autoencoder.ipynb. You might want to check out the last cell of that notebook for reference.
thanks! I trained the autoencoder again and when I download my checkpoint it says this, does this look normal to you:
Hmm, it looks like the colab notebook is timing out on you. I haven't seen that yet, but there is definitely some variance in the instances pulled up for each colab, so you might actually have some luck trying to download again. Alternatively, if you've been writing everything to your google drive, you should be able to just download the directory from your drive and execute the zip command from the notebook locally.
Thanks I did this and it worked! For whatever reason it didn’t download correctly from the Colab so dloading from google drive def helped.
Sent from my iPhone
On Apr 5, 2020, at 10:46 PM, Jesse Engel notifications@github.com wrote:
Hmm, it looks like the colab notebook is timing out on you. I haven't seen that yet, but there is definitely some variance in the instances pulled up for each colab, so you might actually have some luck trying to download again. Alternatively, if you've been writing everything to your google drive, you should be able to just download the directory from your drive and execute the zip command from the notebook locally.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Nice! Glad it worked.
I am uploading a zip file generated and downloaded from train_autoencoder.ipynb colab notebook that passed the resynthesis tests.
I am getting the same model_dir error in timbre_transfer.ipynb colab notebook when i try to upload the custom model. I tried running the cell a few times, factory reset, and returning root inside find_model_dir (lead to None error). Any ideas?
<ipython-input-3-43885a901aa1> in find_model_dir(dir_name) 12 model_dir = root 13 break ---> 14 return model_dir 15 16 UnboundLocalError: local variable 'model_dir' referenced before assignment
Hi, sorry I'm reopening this because this is a known issue. What's happening is that you're not fully downloading/zipping the model I believe.
I haven't figured out yet why this sometimes fails. You can try also accessing it directly from drive, or downloading manually from the file browser on the left of Colab. Sorry I don't have a fix yet.
The first time I downloaded the my_solo_instrument.zip file, it was quite small so I assumed it was broken. The second time I downloaded it, it was 34 MB. However, the file inside G-drive is over 50 MB. I also tried unzipping the downloaded file and it appears it is corrupt. Hope that helps!
Yup, that matches my (occasional) experience. Sorry I don't have a better idea of what's going on at the moment, just to say that it seems to be intermittent. Power cycling (restarting browser) seems to work sometimes.
Hey, getting an issue when I try to run the upload function in the timbre transfer demo I run the cell, choose the file to upload then get this error
MessageError Traceback (most recent call last)