Image generation model training method and device, electronic equipment and storage medium
The invention provides an image generation model training method and apparatus, an electronic device and a storage medium. The method comprises the steps of obtaining a training sample data set; the training sample data set comprises a plurality of target class sample images; performing target local...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides an image generation model training method and apparatus, an electronic device and a storage medium. The method comprises the steps of obtaining a training sample data set; the training sample data set comprises a plurality of target class sample images; performing target local recognition on the target sample image to obtain an image frame corresponding to the target local; determining a sample expansion number based on a first ratio of the area of the image frame to the area of the target sample image; generating an expanded sample image based on the image frame, and copying the expanded sample image based on the sample expansion quantity; and expanding the copied expanded sample image into the training sample data set, and training the target image generation model based on the expanded training sample data set, thereby improving the local detail processing capability of the image generation model through reasonable expansion of the local sample data of the image, and improving the im |
---|