musicinformationretrieval.com

我要开发同款
匿名用户2021年11月11日
30阅读
开发技术Python
所属分类人工智能、机器学习/深度学习
授权协议MIT License

作品详情

musicinformationretrieval.com

2021June2:I'msorrythatIhaven'tupdatedthisrepositorylately.MycareerfocushasdriftedawayfromMIR,sadly.Therefore,pleaseunderstandthatImightnotbecheckingthisrepoveryfrequently.However,I'mgratefulthatmanyofyoustillfindthisrepohelpful.IencourageyoutoraiseGitHubissuesandparticipateincommunitydiscussionsthroughtheissueforums.Ifyouwanttosubmitapullrequest,youcanemailsteveatmusicinformationretrievaldotcomtoletmeknowtocheckGitHub.

ThisrepositorycontainsinstructionalJupyternotebooksrelatedtomusicinformationretrieval(MIR).InsidethesenotebooksarePythoncodesnippetsthatillustratebasicMIRsystems.

Thesimplestwaytousethisrepositoryisto(1)browsearead-onlyversionofthisrepoatmusicinformationretrieval.com,and(2)followalongusingablankJupyternotebookofyourown.

Installation

DownloadandinstallAnacondaforPython3.x.

Installlibrosaandffmpeg:

condainstall-cconda-forgelibrosaffmpeg

Toupgrade:

condaupgrade-cconda-forgelibrosaffmpeg

[2018June24]Thesenotebooksreflectthefollowingpackageversions:

ipython6.2.1joblib0.11jupyter1.0.0librosa0.6.1matplotlib2.2.0numpy1.14.2pandas0.22.0scikit-learn0.19.1scipy1.0.0Usage

StarttheJupyternotebookserveronyourlocalmachine.ForMacusers,attheTerminal:

your-local-machine:~$jupyternotebook

ForWindowsusers,opentheapplication"JupyterNotebook".AlternativelyforWindows:opentheapplication"AnacondaPrompt"andtypeinjupyternotebook.

Jupytershouldautomaticallyopenanewwindowinyourwebbrowserthatresemblesadirectorytree.

Toopenanewnotebook,inthenewwindowofyourwebbrowser,clickonNewnearthetoprighttoopenanewnotebook.

Torenamethenotebook,clickon"Untitled"inthetopleft,andchooseadifferentname.Insideacell,run1+2.Press<Shift-Enter>onacelltorunthatcell.Hopefullyyougettheoutput3.Insideacell,runimportscipy,sklearn,pandas,librosa.Press<Shift-Enter>torunthecell.Ifthatrunswithouterror,congratulations,youhavethenecessarylibrariesinstalledproperly.Tryexecutingthecontentfromhttps://musicinformationretrieval.cominsidethisblanknotebook.

ToclosetheJupyternotebook,

Savethenotebook.(Eitherusekeyboardshortcuts,or"File|Save"inthetopmenu.)Closethebrowserwindow.Ifyouopenedthenotebookfromaprompt/shellasindicatedinStep1above,fromthatshell,press<Ctrl-C>twicetoreturntotheprompt.

Congratulations,youarenowrunningaJupyternotebook,andyoucangetstartedwiththenotebooksinthisrepository.

Afterinstalling,ifsomethingdoesn’twork,tryclosingtheterminalorrestartingtheOS.Sometimesthatcanresetthenecessaryconfigurations.

Troubleshooting

Issue#729:importlibrosacausesTypeError:expectedstringorbuffer

Workaround:downgradejoblibtov0.11:

pipinstalljoblib==0.11Contributions

Yourcontributionsarewelcome!Youcancontributeintwoways:

Submitanissue.Clickon"Issues"intherightnavigationbar,then"NewIssue".IssuescanincludePythonbugs,spellingmistakes,brokenlinks,requestsfornewcontent,andmore.

Submitchangestosourcecodeordocumentation.Forkthisrepo,makeedits,thensubmitapullrequest.

ThisrepoisstaticallyhostedusingGitHubPages.AnychangestoHTMLfilesinthegh-pagesbranchwillbeseenonmusicinformationretrieval.com.

Toeditmusicinformationretrieval.com:

Editanotebook,e.g.:

$jupyternotebookkmeans.ipynb

ConvertnotebooktoHTML:

$jupyternbconvertkmeans.ipynb

CommitthenotebookandtheHTML:

$gitaddkmeans.ipynbkmeans.html$gitcommit$gitpush

Youmayneedtowait1-2minutesbeforethechangesareliveonGitHubPages.

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论