jeffprosise / Deep-Learning

84 stars 63 forks source link

# ms = librosa.feature.melspectrogram(y, sr=sr) #2

Open ollewelin opened 1 month ago

ollewelin commented 1 month ago

Thank you very much for you fantastic work. I am very novice at python so I got stuck in an error where ChatGPT find the bug at once :) I was replace line : ms = librosa.feature.melspectrogram(y, sr=sr)

with

ms = librosa.feature.melspectrogram(y=y, sr=sr)

And I got out the spectrogram :) it seems to work

jeffprosise commented 1 month ago

Glad you fixed it! These libraries change from time to time, so minor code changes are often required to run against the latest versions.

Jeff Prosise Chief Artificial Intelligence Officer Atmosera P 833.691.4727 | E @.*** | https://www.linkedin.com/in/jeffprosise/

@.***

From: Olle Welin @.> Sent: Tuesday, July 9, 2024 6:38 AM To: jeffprosise/Deep-Learning @.> Cc: Subscribed @.***> Subject: [External] [jeffprosise/Deep-Learning] # ms = librosa.feature.melspectrogram(y, sr=sr) (Issue #2)

Thank you very much for you fantastic work. I am very novice at python so I got stuck in an error where ChatGPT find the bug at once :) I was replace line : ms = librosa.feature.melspectrogram(y, sr=sr)

with

ms = librosa.feature.melspectrogram(y=y, sr=sr)

And I got out the spectrogram :) it seems to work

— Reply to this email directly, view it on GitHubhttps://github.com/jeffprosise/Deep-Learning/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADHKIZPZRE34RYW2FVLAKWTZLO4RRAVCNFSM6AAAAABKSST2CKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TOOBSHE4DCNA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>> This message was sent from outside the company. Please do not click links or open attachments unless you recognize the source of this email and know the content is safe.