Sélectionner vos préférences de cookies

Nous utilisons des cookies essentiels et des outils similaires qui sont nécessaires au fonctionnement de notre site et à la fourniture de nos services. Nous utilisons des cookies de performance pour collecter des statistiques anonymes afin de comprendre comment les clients utilisent notre site et d’apporter des améliorations. Les cookies essentiels ne peuvent pas être désactivés, mais vous pouvez cliquer sur « Personnaliser » ou « Refuser » pour refuser les cookies de performance.

Si vous êtes d’accord, AWS et les tiers approuvés utiliseront également des cookies pour fournir des fonctionnalités utiles au site, mémoriser vos préférences et afficher du contenu pertinent, y compris des publicités pertinentes. Pour accepter ou refuser tous les cookies non essentiels, cliquez sur « Accepter » ou « Refuser ». Pour effectuer des choix plus détaillés, cliquez sur « Personnaliser ».

Training a custom model for the AWS DeepComposer Music studio

Mode de mise au point
Training a custom model for the AWS DeepComposer Music studio - AWS DeepComposer
Cette page n'a pas été traduite dans votre langue. Demande de traduction

You can train a custom model in the AWS DeepComposer console using a supported generative AI technique and algorithm. Then you can use the model in the AWS DeepComposer music studio to generate compositions.

AWS DeepComposer supports training custom models through the generative adversarial network (GAN) architecture. You can train a model using the MuseGAN or U-Net algorithm. Each algorithm supports different training datasets. To use the symphony, jazz, pop, or rock genre-based datasets, choose the MuseGAN algorithm. The U-Net algorithm is limited to a training dataset based on music by Johann Sebastian Bach.

After training a custom model, you can perform inference using an input track in the AWS DeepComposer music studio. When you perform inference, you use your custom trained model to generate a new composition.

After training a custom model, you can perform inference using an input track in the AWS DeepComposer Music studio. When you perform inference, you use your custom trained model to generate a new composition.

If you use the default values to train your custom model, training will take approximately 8 hours. To decrease the amount of time, you can decrease the number of training epochs. Decreasing the number of training epochs by too much, however, might result in a poorly trained model.

Note
To train a custom model
  1. Open the AWS DeepComposer console.

  2. In the navigation pane, choose Models.

  3. On the Models page, choose Create a model.

  4. On the Train a model page, under Generative algorithm, choose MuseGAN.

    Both the MuseGAN and U-Net algorithms are based on convolutional neural networks (CNNs). These CNNs generate a high-level image-based representation of music called a piano roll, which is used to generate the output tracks.

  5. For Training dataset, choose jazz.

  6. For Hyperparameters, choose the following values.

    Hyperparameters are algorithm-dependent variables that you control. You can tune the hyperparameters to find the best fit for the specific problem that you are trying to model.

    Hyperparameter Value

    Epoch

    100

    Learning rate

    0.001

    Update ratio

    4

  7. Under Model details, give your model a name and an optional description.

  8. Choose Start training.

  9. To check the status of training, in the navigation pane, choose Models. The status of the training appears under Status.

    After the model has been trained successfully, the status changes to Training complete.

    Training status of all models.

After training has completed, your model automatically appears in either AWS DeepComposer Music studio experience, where you can use it to create compositions.

To learn more about using your custom model, refer to the topic on creating compositions with a trained model in AWS DeepComposer.

Rubrique suivante :

Evaluating a model

Rubrique précédente :

Importing a melody
ConfidentialitéConditions d'utilisation du sitePréférences de cookies
© 2025, Amazon Web Services, Inc. ou ses affiliés. Tous droits réservés.