musiciformatioretrieval.com
2021Jue2:I'msorrythatIhave'tupdatedthisrepositorylately.MycareerfocushasdriftedawayfromMIR,sadly.Therefore,pleaseuderstadthatImightotbecheckigthisrepoveryfrequetly.However,I'mgratefulthatmayofyoustillfidthisrepohelpful.IecourageyoutoraiseGitHubissuesadparticipateicommuitydiscussiosthroughtheissueforums.Ifyouwattosubmitapullrequest,youcaemailsteveatmusiciformatioretrievaldotcomtoletmekowtocheckGitHub.
ThisrepositorycotaisistructioalJupyterotebooksrelatedtomusiciformatioretrieval(MIR).IsidetheseotebooksarePythocodesippetsthatillustratebasicMIRsystems.
Thesimplestwaytousethisrepositoryisto(1)browsearead-olyversioofthisrepoatmusiciformatioretrieval.com,ad(2)followalogusigablakJupyterotebookofyourow.
IstallatioDowloadadistallAacodaforPytho3.x.
Istalllibrosaadffmpeg:
codaistall-ccoda-forgelibrosaffmpegToupgrade:
codaupgrade-ccoda-forgelibrosaffmpeg[2018Jue24]Theseotebooksreflectthefollowigpackageversios:
ipytho6.2.1joblib0.11jupyter1.0.0librosa0.6.1matplotlib2.2.0umpy1.14.2padas0.22.0scikit-lear0.19.1scipy1.0.0UsageStarttheJupyterotebookserveroyourlocalmachie.ForMacusers,attheTermial:
your-local-machie:~$jupyterotebookForWidowsusers,opetheapplicatio"JupyterNotebook".AlterativelyforWidows:opetheapplicatio"AacodaPrompt"adtypeijupyterotebook.
Jupytershouldautomaticallyopeaewwidowiyourwebbrowserthatresemblesadirectorytree.
Toopeaewotebook,itheewwidowofyourwebbrowser,clickoNewearthetoprighttoopeaewotebook.
Toreametheotebook,clicko"Utitled"ithetopleft,adchooseadifferetame.Isideacell,ru1+2.Press<Shift-Eter>oacelltoruthatcell.Hopefullyyougettheoutput3.Isideacell,ruimportscipy,sklear,padas,librosa.Press<Shift-Eter>toruthecell.Ifthatruswithouterror,cogratulatios,youhavetheecessarylibrariesistalledproperly.Tryexecutigthecotetfromhttps://musiciformatioretrieval.comisidethisblakotebook.ToclosetheJupyterotebook,
Savetheotebook.(Eitherusekeyboardshortcuts,or"File|Save"ithetopmeu.)Closethebrowserwidow.Ifyouopeedtheotebookfromaprompt/shellasidicatediStep1above,fromthatshell,press<Ctrl-C>twicetoreturtotheprompt.Cogratulatios,youareowruigaJupyterotebook,adyoucagetstartedwiththeotebooksithisrepository.
Afteristallig,ifsomethigdoes’twork,tryclosigthetermialorrestartigtheOS.Sometimesthatcaresettheecessarycofiguratios.
TroubleshootigIssue#729:importlibrosacausesTypeError:expectedstrigorbuffer
Workaroud:dowgradejoblibtov0.11:
pipistalljoblib==0.11CotributiosYourcotributiosarewelcome!Youcacotributeitwoways:
Submitaissue.Clicko"Issues"itherightavigatiobar,the"NewIssue".IssuescaicludePythobugs,spelligmistakes,brokeliks,requestsforewcotet,admore.
Submitchagestosourcecodeordocumetatio.Forkthisrepo,makeedits,thesubmitapullrequest.
ThisrepoisstaticallyhostedusigGitHubPages.AychagestoHTMLfilesithegh-pagesbrachwillbeseeomusiciformatioretrieval.com.
Toeditmusiciformatioretrieval.com:
Editaotebook,e.g.:
$jupyterotebookkmeas.ipybCovertotebooktoHTML:
$jupyterbcovertkmeas.ipybCommittheotebookadtheHTML:
$gitaddkmeas.ipybkmeas.html$gitcommit$gitpushYoumayeedtowait1-2miutesbeforethechagesareliveoGitHubPages.







评论