You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constmusicvae=require('@magenta/music/node/music_vae');constcore=require('@magenta/music/node/core');constMax=require('max-api');varmodelCheckPoint='https://storage.googleapis.com/magentadata/js/checkpoints/music_vae/mel_2bar_small';//works//////// fails with Only HTTP(S) protocols are supported //////////var modelCheckPoint = 'file://Users/johnjannone/Dropbox/_Projects__________________/_MAX/Magenta/drums_2bar_lokl_small';//////// fails with Only absolute URLs are supported //////////var modelCheckPoint = '/drums_2bar_lokl_small';//var modelCheckPoint = 'file:///Users/johnjannone/Dropbox/_Projects__________________/_MAX/Magenta/drums_2bar_lokl_small';varMusicVAE=newmusicvae.MusicVAE(modelCheckPoint);MusicVAE.initialize().then(function(MusicVAE){Max.post('MusicVAE initialized with model '+modelCheckPoint);});
Having downloaded models using
checkpoint_downloader.py
, I am attempting to load them locally.As suggested in #576 I prepended
file://
and get the errorOnly HTTP(S) protocols are supported
As suggested in #470 I used
/modelName
and continue to get the errorOnly absolute URLs are supported
Any other suggestions?
The text was updated successfully, but these errors were encountered: