Borrar filtros
Borrar filtros

How can I change the database and pretrained generator ?

2 visualizaciones (últimos 30 días)
aseel aldossari
aseel aldossari el 30 de En. de 2022
Comentada: Sebastian Veron Paterson el 15 de Mayo de 2024
I am working on this example
And I tried to change the database from drums to human voice by changing the track from here
%% Load Training Data
% Train a GAN using the Drum Sound Effects dataset [1].
% Download and extract the dataset.
%%
%url = 'http://deepyeti.ucsd.edu/cdonahue/wavegan/data/drums.tar.gz';
downloadFolder = tempdir;
filename = fullfile(downloadFolder,'drums_dataset.tgz');
drumsFolder = fullfile(downloadFolder,'drums');
But every time I change the track it still plays the sound of the drums!!
A colleague suggested to me changing the pretrained generator!!..
%%
% Download the pretrained generator.
matFileName = 'drumGeneratorWeights.mat';
%if ~exist(matFileName,'file')
% websave(matFileName,'https://www.mathworks.com/supportfiles/audio/GanAudioSynthesis/drumGeneratorWeights.mat');
%end
ِِAnd now I am trying to link the relationship between the database and the pretrained generator..
And how do I change the pretrained generator if I need to change it?
And why is the pretrained generator used at the beginning of the example?
I am a beginner in Matlab .. Any information will help me ... Thank you

Respuestas (1)

jibrahim
jibrahim el 31 de En. de 2022
Hi Aseel,
The example starts off by showcasing the pretrained network. The network was trained to produce drum-like sounds. If you want it to produce other types of sound, you will need to use another dataset and re-train the network. You can go through the 'Train the GAN' section to see how that is done.
  1 comentario
Sebastian Veron Paterson
Sebastian Veron Paterson el 15 de Mayo de 2024
Hello, if i want to create GAN that can create piano sounds. Do i still need the pre-trained generator and the STFT?

Iniciar sesión para comentar.

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by