How to train on 1024 x 1024 face images? #475

Open
opened 2026-01-29 21:48:03 +00:00 by claunia · 4 comments
Owner

Originally created by @danial880 on GitHub (Mar 28, 2024).

Hi, Thanks for your great work.

I have cropped faces of size 1024x1024. Right now, I am slicing the face into 4 equal slices of 512x512, applying face restoration on each slice, and then concatenating these slices.

I want to directly train a model on 1024x1024 images. So I can skip concatenating. What modification can I make to train_gfpgan_v1.yml, to achieve this?

Originally created by @danial880 on GitHub (Mar 28, 2024). Hi, Thanks for your great work. I have cropped faces of size 1024x1024. Right now, I am slicing the face into 4 equal slices of 512x512, applying face restoration on each slice, and then concatenating these slices. I want to directly train a model on 1024x1024 images. So I can skip concatenating. What modification can I make to [train_gfpgan_v1.yml](https://github.com/TencentARC/GFPGAN/blob/master/options/train_gfpgan_v1.yml), to achieve this?
Author
Owner

@OmlineEditor commented on GitHub (Apr 4, 2024):

Have you been able to find a solution to your problem? Share the solution if you have found it.

@OmlineEditor commented on GitHub (Apr 4, 2024): Have you been able to find a solution to your problem? Share the solution if you have found it.
Author
Owner

@O-O1024 commented on GitHub (Apr 5, 2024):

I find his project is work: GFPGAN-1024 #356

@O-O1024 commented on GitHub (Apr 5, 2024): I find his project is work: [GFPGAN-1024](https://github.com/LeslieZhoa/GFPGAN-1024) #356
Author
Owner

@luser350 commented on GitHub (May 21, 2024):

GFPGAN-1024 takes input 512 and gives 1024 as output. I also want input as 1024. @OmlineEditor @danial880 @jkla139 @tuhins @VincentSC any idea?

@luser350 commented on GitHub (May 21, 2024): [GFPGAN-1024](https://github.com/LeslieZhoa/GFPGAN-1024) takes input 512 and gives 1024 as output. I also want input as 1024. @OmlineEditor @danial880 @jkla139 @tuhins @VincentSC any idea?
Author
Owner

@OmlineEditor commented on GitHub (Jun 11, 2024):

I also want input as 1024

do you want to have a 1024 photo at the input and the exact same 1024 photo at the output? I don't quite understand what you want to achieve?

@OmlineEditor commented on GitHub (Jun 11, 2024): > I also want input as 1024 do you want to have a 1024 photo at the input and the exact same 1024 photo at the output? I don't quite understand what you want to achieve?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#475