Welcome to midi_degradation_toolkit Discussions! #169
Replies: 4 comments 8 replies
-
I want to use degrader.py in my model as midi augmentation, but I don't know how to convert midi |
Beta Was this translation helpful? Give feedback.
-
thanks a lot. my computer can't run now.
give me a few minutes to share my code
李琦
***@***.***
…---Original---
From: "James ***@***.***>
Date: Thu, Oct 7, 2021 21:48 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [JamesOwers/midi_degradation_toolkit] Welcome to midi_degradation_toolkit Discussions! (Discussion #169)
I can try! Please share a minimal working code example showing what you’re trying to do which I can try to run.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Sorry,I want to bother you again. I want to know the details of the parameter about clean_prop and seed in the script of degrader.py. What factors should I use to confirm the value of this parameter. Please give some advice. |
Beta Was this translation helpful? Give feedback.
-
For example,if clean_prop = 1/3, only a music can be degraded in three picecs of music, and the proprtion of the type of degration is up to the degrations and degration_list. Am I right?
…------------------ 原始邮件 ------------------
发件人: "JamesOwers/midi_degradation_toolkit" ***@***.***>;
发送时间: 2021年10月10日(星期天) 晚上7:31
***@***.***>;
***@***.******@***.***>;
主题: Re: [JamesOwers/midi_degradation_toolkit] Welcome to midi_degradation_toolkit Discussions! (Discussion #169)
Hello,
clean_prop controls the proportion of calls to Degrader.degrade that will return a copy of the input without degrading it. If you want every excerpt to be degraded, then you should set this value to 0.
seed just sets the seed for numpy's random number generator, which we use to randomly degrade each input. This is a standard argument for RNGs, which you can read more about, for example, here.
For more details, I can recommend looking at our documentation notebooks, including number 4 which talks about the Degrader, and number 3 which talks about the degradation functions.
I would also recommend installing mdtk as described in the readme, rather than copying the source files into your code directory as you have done in the example you shared. This will ensure that all dependencies are installed correctly and that all code will work as intended.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions