neuralchen / SimSwap

An arbitrary face-swapping framework on images and videos with one single trained model!
Other
4.57k stars 899 forks source link

The images are shuffled during training. #434

Open weixianwei0129 opened 1 year ago

weixianwei0129 commented 1 year ago

https://github.com/neuralchen/SimSwap/blob/main/train.py#L180 In this place, does the position of certain pictures not change? Would it be better to shift backwards x steps one by one;x=random.randint(0,batch_size-1).