Skip to content

Instantly share code, notes, and snippets.

@username116
Created March 15, 2024 13:23
Show Gist options
  • Save username116/7d99224ee10206186d054ac16e618036 to your computer and use it in GitHub Desktop.
Save username116/7d99224ee10206186d054ac16e618036 to your computer and use it in GitHub Desktop.
result of an essentia script with python and tensorflow
E:\my_folder>my_script.py
2024-03-15 14:16:32.088769: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
[ INFO ] MusicExtractorSVM: no classifier models were configured by default
2024-03-15 14:16:33.088714: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Key: E minor
BPM: 162.86346435546875
Beat estimation confidence: 2.0084941387176514
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/danceability-musicnn-msd-2.pb`
2024-03-15 14:16:41.557731: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:388] MLIR V1 optimization pass is not enabled
danceable: 13.2%
not_danceable: 82.2%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/gender-musicnn-msd-2.pb`
female: 28.7%
male: 71.5%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/genre_dortmund-musicnn-msd-2.pb`
alternative: 5.4%
blues: 5.6%
electronic: 0.4%
folkcountr: 29.8%
funksoulrnb: 2.2%
jazz: 6.0%
pop: 18.3%
raphiphop: 0.4%
rock: 15.1%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/genre_electronic-musicnn-msd-2.pb`
ambient: 50.2%
dnb: 44.7%
house: 17.6%
techno: 29.9%
trance: 19.3%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/genre_rosamerica-musicnn-msd-2.pb`
cla: 3.7%
dan: 0.3%
hip: 0.5%
jaz: 1.3%
pop: 55.7%
rhy: 8.0%
roc: 14.8%
spe: 0.4%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/genre_tzanetakis-musicnn-msd-2.pb`
blu: 3.9%
cla: 1.0%
cou: 12.0%
dis: 2.5%
hip: 0.1%
jaz: 0.3%
met: 0.3%
pop: 0.7%
reg: 1.0%
roc: 82.9%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/mood_acoustic-musicnn-msd-2.pb`
acoustic: 41.9%
non_acoustic: 58.4%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/mood_aggressive-musicnn-msd-2.pb`
aggressive: 41.8%
not_aggressive: 78.3%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/mood_electronic-musicnn-msd-2.pb`
electronic: 8.6%
non_electronic: 84.8%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/mood_happy-musicnn-msd-2.pb`
happy: 78.5%
non_happy: 44.8%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/mood_party-musicnn-msd-2.pb`
non_party: 76.3%
party: 33.6%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/mood_relaxed-musicnn-msd-2.pb`
non_relaxed: 41.6%
relaxed: 55.9%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/mood_sad-musicnn-msd-2.pb`
non_sad: 40.7%
sad: 79.3%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/tonal_atonal-musicnn-msd-2.pb`
tonal: 67.5%
atonal: 24.1%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/voice_instrumental-musicnn-msd-2.pb`
instrumental: 9.7%
voice: 76.7%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/msd-musicnn-1.pb`
rock: 35.5%
pop: 14.1%
alternative: 5.7%
indie: 9.0%
electronic: 0.5%
female vocalists: 2.2%
dance: 0.2%
00s: 0.7%
alternative rock: 2.3%
jazz: 0.8%
beautiful: 1.1%
metal: 0.3%
chillout: 0.3%
male vocalists: 1.9%
classic rock: 22.5%
soul: 3.1%
indie rock: 3.0%
Mellow: 1.2%
electronica: 0.2%
80s: 7.9%
folk: 4.7%
90s: 1.6%
chill: 0.4%
instrumental: 0.9%
punk: 1.7%
oldies: 11.7%
blues: 2.6%
hard rock: 2.6%
ambient: 0.2%
acoustic: 1.8%
experimental: 0.6%
female vocalist: 0.2%
guitar: 1.1%
Hip-Hop: 0.1%
70s: 11.4%
party: 0.2%
country: 6.3%
easy listening: 1.0%
sexy: 0.1%
catchy: 1.1%
funk: 0.6%
electro: 0.1%
heavy metal: 0.4%
Progressive rock: 3.9%
60s: 14.1%
rnb: 0.1%
indie pop: 2.2%
sad: 0.5%
House: 0.0%
happy: 0.6%
[ INFO ] TensorflowPredict: Successfully loaded graph file: `models/discogs-effnet-bs64-1.pb`
Blues---Boogie Woogie: 0.0%
Blues---Chicago Blues: 0.1%
Blues---Country Blues: 0.6%
Blues---Delta Blues: 0.1%
Blues---Electric Blues: 0.1%
Blues---Harmonica Blues: 0.1%
Blues---Jump Blues: 0.0%
Blues---Louisiana Blues: 0.0%
Blues---Modern Electric Blues: 0.4%
Blues---Piano Blues: 0.5%
Blues---Rhythm & Blues: 0.3%
Blues---Texas Blues: 0.3%
Brass & Military---Brass Band: 0.1%
Brass & Military---Marches: 0.0%
Brass & Military---Military: 0.0%
Children's---Educational: 0.3%
Children's---Nursery Rhymes: 0.0%
Children's---Story: 0.2%
Classical---Baroque: 0.0%
Classical---Choral: 0.0%
Classical---Classical: 0.0%
Classical---Contemporary: 0.1%
Classical---Impressionist: 0.0%
Classical---Medieval: 0.0%
Classical---Modern: 0.0%
Classical---Neo-Classical: 0.1%
Classical---Neo-Romantic: 0.0%
Classical---Opera: 0.0%
Classical---Post-Modern: 0.0%
Classical---Renaissance: 0.0%
Classical---Romantic: 0.0%
Electronic---Abstract: 0.1%
Electronic---Acid: 0.0%
Electronic---Acid House: 0.0%
Electronic---Acid Jazz: 0.1%
Electronic---Ambient: 0.4%
Electronic---Bassline: 0.0%
Electronic---Beatdown: 0.0%
Electronic---Berlin-School: 0.1%
Electronic---Big Beat: 0.1%
Electronic---Bleep: 0.0%
Electronic---Breakbeat: 0.0%
Electronic---Breakcore: 0.0%
Electronic---Breaks: 0.0%
Electronic---Broken Beat: 0.0%
Electronic---Chillwave: 0.1%
Electronic---Chiptune: 0.1%
Electronic---Dance-pop: 0.1%
Electronic---Dark Ambient: 0.0%
Electronic---Darkwave: 0.1%
Electronic---Deep House: 0.1%
Electronic---Deep Techno: 0.0%
Electronic---Disco: 0.6%
Electronic---Disco Polo: 0.0%
Electronic---Donk: 0.0%
Electronic---Downtempo: 0.6%
Electronic---Drone: 0.0%
Electronic---Drum n Bass: 0.0%
Electronic---Dub: 0.0%
Electronic---Dub Techno: 0.0%
Electronic---Dubstep: 0.0%
Electronic---Dungeon Synth: 0.0%
Electronic---EBM: 0.0%
Electronic---Electro: 0.5%
Electronic---Electro House: 0.0%
Electronic---Electroclash: 0.0%
Electronic---Euro House: 0.1%
Electronic---Euro-Disco: 0.2%
Electronic---Eurobeat: 0.0%
Electronic---Eurodance: 0.0%
Electronic---Experimental: 0.4%
Electronic---Freestyle: 0.0%
Electronic---Future Jazz: 0.0%
Electronic---Gabber: 0.0%
Electronic---Garage House: 0.0%
Electronic---Ghetto: 0.0%
Electronic---Ghetto House: 0.0%
Electronic---Glitch: 0.0%
Electronic---Goa Trance: 0.0%
Electronic---Grime: 0.0%
Electronic---Halftime: 0.0%
Electronic---Hands Up: 0.0%
Electronic---Happy Hardcore: 0.0%
Electronic---Hard House: 0.0%
Electronic---Hard Techno: 0.0%
Electronic---Hard Trance: 0.0%
Electronic---Hardcore: 0.0%
Electronic---Hardstyle: 0.0%
Electronic---Hi NRG: 0.1%
Electronic---Hip Hop: 0.0%
Electronic---Hip-House: 0.0%
Electronic---House: 0.3%
Electronic---IDM: 0.0%
Electronic---Illbient: 0.0%
Electronic---Industrial: 0.1%
Electronic---Italo House: 0.0%
Electronic---Italo-Disco: 0.2%
Electronic---Italodance: 0.0%
Electronic---Jazzdance: 0.1%
Electronic---Juke: 0.0%
Electronic---Jumpstyle: 0.0%
Electronic---Jungle: 0.0%
Electronic---Latin: 0.1%
Electronic---Leftfield: 0.2%
Electronic---Makina: 0.0%
Electronic---Minimal: 0.1%
Electronic---Minimal Techno: 0.0%
Electronic---Modern Classical: 0.1%
Electronic---Musique Concrète: 0.0%
Electronic---Neofolk: 0.6%
Electronic---New Age: 0.2%
Electronic---New Beat: 0.1%
Electronic---New Wave: 0.8%
Electronic---Noise: 0.0%
Electronic---Nu-Disco: 0.1%
Electronic---Power Electronics: 0.0%
Electronic---Progressive Breaks: 0.0%
Electronic---Progressive House: 0.0%
Electronic---Progressive Trance: 0.0%
Electronic---Psy-Trance: 0.0%
Electronic---Rhythmic Noise: 0.0%
Electronic---Schranz: 0.0%
Electronic---Sound Collage: 0.0%
Electronic---Speed Garage: 0.0%
Electronic---Speedcore: 0.0%
Electronic---Synth-pop: 2.5%
Electronic---Synthwave: 0.1%
Electronic---Tech House: 0.0%
Electronic---Tech Trance: 0.0%
Electronic---Techno: 0.1%
Electronic---Trance: 0.0%
Electronic---Tribal: 0.0%
Electronic---Tribal House: 0.0%
Electronic---Trip Hop: 0.1%
Electronic---Tropical House: 0.0%
Electronic---UK Garage: 0.0%
Electronic---Vaporwave: 0.0%
Folk, World, & Country---African: 0.0%
Folk, World, & Country---Bluegrass: 0.4%
Folk, World, & Country---Cajun: 0.1%
Folk, World, & Country---Canzone Napoletana: 0.0%
Folk, World, & Country---Catalan Music: 0.0%
Folk, World, & Country---Celtic: 0.4%
Folk, World, & Country---Country: 1.5%
Folk, World, & Country---Fado: 0.0%
Folk, World, & Country---Flamenco: 0.0%
Folk, World, & Country---Folk: 1.7%
Folk, World, & Country---Gospel: 0.4%
Folk, World, & Country---Highlife: 0.0%
Folk, World, & Country---Hillbilly: 0.0%
Folk, World, & Country---Hindustani: 0.0%
Folk, World, & Country---Honky Tonk: 0.4%
Folk, World, & Country---Indian Classical: 0.0%
Folk, World, & Country---Laïkó: 0.0%
Folk, World, & Country---Nordic: 0.1%
Folk, World, & Country---Pacific: 0.0%
Folk, World, & Country---Polka: 0.1%
Folk, World, & Country---Raï: 0.0%
Folk, World, & Country---Romani: 0.0%
Folk, World, & Country---Soukous: 0.0%
Folk, World, & Country---Séga: 0.0%
Folk, World, & Country---Volksmusik: 0.0%
Folk, World, & Country---Zouk: 0.0%
Folk, World, & Country---Éntekhno: 0.2%
Funk / Soul---Afrobeat: 0.0%
Funk / Soul---Boogie: 0.2%
Funk / Soul---Contemporary R&B: 0.1%
Funk / Soul---Disco: 0.5%
Funk / Soul---Free Funk: 0.0%
Funk / Soul---Funk: 0.5%
Funk / Soul---Gospel: 0.3%
Funk / Soul---Neo Soul: 0.2%
Funk / Soul---New Jack Swing: 0.1%
Funk / Soul---P.Funk: 0.1%
Funk / Soul---Psychedelic: 0.2%
Funk / Soul---Rhythm & Blues: 0.3%
Funk / Soul---Soul: 1.5%
Funk / Soul---Swingbeat: 0.1%
Funk / Soul---UK Street Soul: 0.0%
Hip Hop---Bass Music: 0.0%
Hip Hop---Boom Bap: 0.0%
Hip Hop---Bounce: 0.0%
Hip Hop---Britcore: 0.0%
Hip Hop---Cloud Rap: 0.0%
Hip Hop---Conscious: 0.0%
Hip Hop---Crunk: 0.0%
Hip Hop---Cut-up/DJ: 0.0%
Hip Hop---DJ Battle Tool: 0.0%
Hip Hop---Electro: 0.0%
Hip Hop---G-Funk: 0.0%
Hip Hop---Gangsta: 0.0%
Hip Hop---Grime: 0.0%
Hip Hop---Hardcore Hip-Hop: 0.0%
Hip Hop---Horrorcore: 0.0%
Hip Hop---Instrumental: 0.0%
Hip Hop---Jazzy Hip-Hop: 0.0%
Hip Hop---Miami Bass: 0.0%
Hip Hop---Pop Rap: 0.1%
Hip Hop---Ragga HipHop: 0.0%
Hip Hop---RnB/Swing: 0.0%
Hip Hop---Screw: 0.0%
Hip Hop---Thug Rap: 0.0%
Hip Hop---Trap: 0.0%
Hip Hop---Trip Hop: 0.0%
Hip Hop---Turntablism: 0.0%
Jazz---Afro-Cuban Jazz: 0.0%
Jazz---Afrobeat: 0.0%
Jazz---Avant-garde Jazz: 0.0%
Jazz---Big Band: 0.0%
Jazz---Bop: 0.0%
Jazz---Bossa Nova: 0.1%
Jazz---Contemporary Jazz: 0.1%
Jazz---Cool Jazz: 0.0%
Jazz---Dixieland: 0.1%
Jazz---Easy Listening: 0.2%
Jazz---Free Improvisation: 0.0%
Jazz---Free Jazz: 0.0%
Jazz---Fusion: 0.1%
Jazz---Gypsy Jazz: 0.0%
Jazz---Hard Bop: 0.0%
Jazz---Jazz-Funk: 0.1%
Jazz---Jazz-Rock: 0.2%
Jazz---Latin Jazz: 0.0%
Jazz---Modal: 0.0%
Jazz---Post Bop: 0.0%
Jazz---Ragtime: 0.1%
Jazz---Smooth Jazz: 0.1%
Jazz---Soul-Jazz: 0.1%
Jazz---Space-Age: 0.0%
Jazz---Swing: 0.1%
Latin---Afro-Cuban: 0.0%
Latin---Baião: 0.0%
Latin---Batucada: 0.0%
Latin---Beguine: 0.0%
Latin---Bolero: 0.0%
Latin---Boogaloo: 0.0%
Latin---Bossanova: 0.2%
Latin---Cha-Cha: 0.0%
Latin---Charanga: 0.0%
Latin---Compas: 0.0%
Latin---Cubano: 0.0%
Latin---Cumbia: 0.0%
Latin---Descarga: 0.0%
Latin---Forró: 0.0%
Latin---Guaguancó: 0.0%
Latin---Guajira: 0.0%
Latin---Guaracha: 0.0%
Latin---MPB: 0.1%
Latin---Mambo: 0.0%
Latin---Mariachi: 0.0%
Latin---Merengue: 0.0%
Latin---Norteño: 0.0%
Latin---Nueva Cancion: 0.1%
Latin---Pachanga: 0.0%
Latin---Porro: 0.0%
Latin---Ranchera: 0.0%
Latin---Reggaeton: 0.0%
Latin---Rumba: 0.0%
Latin---Salsa: 0.0%
Latin---Samba: 0.0%
Latin---Son: 0.0%
Latin---Son Montuno: 0.0%
Latin---Tango: 0.2%
Latin---Tejano: 0.0%
Latin---Vallenato: 0.0%
Non-Music---Audiobook: 0.0%
Non-Music---Comedy: 0.4%
Non-Music---Dialogue: 0.0%
Non-Music---Education: 0.0%
Non-Music---Field Recording: 0.0%
Non-Music---Interview: 1.4%
Non-Music---Monolog: 0.8%
Non-Music---Poetry: 0.2%
Non-Music---Political: 0.0%
Non-Music---Promotional: 1.5%
Non-Music---Radioplay: 0.1%
Non-Music---Religious: 0.3%
Non-Music---Spoken Word: 0.2%
Pop---Ballad: 2.1%
Pop---Bollywood: 0.0%
Pop---Bubblegum: 1.9%
Pop---Chanson: 1.8%
Pop---City Pop: 1.4%
Pop---Europop: 0.6%
Pop---Indie Pop: 3.6%
Pop---J-pop: 0.6%
Pop---K-pop: 0.0%
Pop---Kayōkyoku: 0.9%
Pop---Light Music: 0.6%
Pop---Music Hall: 0.9%
Pop---Novelty: 1.0%
Pop---Parody: 1.4%
Pop---Schlager: 0.3%
Pop---Vocal: 4.6%
Reggae---Calypso: 0.0%
Reggae---Dancehall: 0.0%
Reggae---Dub: 0.0%
Reggae---Lovers Rock: 0.0%
Reggae---Ragga: 0.0%
Reggae---Reggae: 0.0%
Reggae---Reggae-Pop: 0.1%
Reggae---Rocksteady: 0.0%
Reggae---Roots Reggae: 0.0%
Reggae---Ska: 0.1%
Reggae---Soca: 0.0%
Rock---AOR: 3.6%
Rock---Acid Rock: 0.8%
Rock---Acoustic: 1.5%
Rock---Alternative Rock: 8.9%
Rock---Arena Rock: 2.3%
Rock---Art Rock: 3.6%
Rock---Atmospheric Black Metal: 0.0%
Rock---Avantgarde: 0.4%
Rock---Beat: 2.2%
Rock---Black Metal: 0.0%
Rock---Blues Rock: 3.3%
Rock---Brit Pop: 7.0%
Rock---Classic Rock: 9.4%
Rock---Coldwave: 0.1%
Rock---Country Rock: 2.8%
Rock---Crust: 0.0%
Rock---Death Metal: 0.0%
Rock---Deathcore: 0.0%
Rock---Deathrock: 0.1%
Rock---Depressive Black Metal: 0.0%
Rock---Doo Wop: 0.7%
Rock---Doom Metal: 0.0%
Rock---Dream Pop: 1.2%
Rock---Emo: 0.2%
Rock---Ethereal: 1.0%
Rock---Experimental: 0.7%
Rock---Folk Metal: 0.0%
Rock---Folk Rock: 6.3%
Rock---Funeral Doom Metal: 0.0%
Rock---Funk Metal: 0.1%
Rock---Garage Rock: 4.2%
Rock---Glam: 3.9%
Rock---Goregrind: 0.0%
Rock---Goth Rock: 0.4%
Rock---Gothic Metal: 0.1%
Rock---Grindcore: 0.0%
Rock---Grunge: 0.3%
Rock---Hard Rock: 1.1%
Rock---Hardcore: 0.1%
Rock---Heavy Metal: 0.2%
Rock---Indie Rock: 14.8%
Rock---Industrial: 0.1%
Rock---Krautrock: 0.4%
Rock---Lo-Fi: 4.2%
Rock---Lounge: 2.1%
Rock---Math Rock: 0.1%
Rock---Melodic Death Metal: 0.0%
Rock---Melodic Hardcore: 0.0%
Rock---Metalcore: 0.0%
Rock---Mod: 2.5%
Rock---Neofolk: 1.0%
Rock---New Wave: 3.5%
Rock---No Wave: 0.1%
Rock---Noise: 0.1%
Rock---Noisecore: 0.0%
Rock---Nu Metal: 0.0%
Rock---Oi: 0.0%
Rock---Parody: 1.7%
Rock---Pop Punk: 0.5%
Rock---Pop Rock: 30.1%
Rock---Pornogrind: 0.0%
Rock---Post Rock: 0.2%
Rock---Post-Hardcore: 0.0%
Rock---Post-Metal: 0.0%
Rock---Post-Punk: 0.3%
Rock---Power Metal: 0.0%
Rock---Power Pop: 7.7%
Rock---Power Violence: 0.0%
Rock---Prog Rock: 1.5%
Rock---Progressive Metal: 0.0%
Rock---Psychedelic Rock: 7.9%
Rock---Psychobilly: 0.3%
Rock---Pub Rock: 1.5%
Rock---Punk: 1.1%
Rock---Rock & Roll: 3.2%
Rock---Rockabilly: 0.3%
Rock---Shoegaze: 0.8%
Rock---Ska: 0.2%
Rock---Sludge Metal: 0.0%
Rock---Soft Rock: 4.4%
Rock---Southern Rock: 2.2%
Rock---Space Rock: 0.6%
Rock---Speed Metal: 0.0%
Rock---Stoner Rock: 0.2%
Rock---Surf: 2.2%
Rock---Symphonic Rock: 0.8%
Rock---Technical Death Metal: 0.0%
Rock---Thrash: 0.0%
Rock---Twist: 0.1%
Rock---Viking Metal: 0.1%
Rock---Yé-Yé: 0.3%
Stage & Screen---Musical: 0.2%
Stage & Screen---Score: 0.1%
Stage & Screen---Soundtrack: 0.9%
Stage & Screen---Theme: 0.3%
E:\my_folder>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment