apchenstu / sofgan

[TOG 2022] SofGAN: A Portrait Image Generator with Dynamic Styling
Other
763 stars 102 forks source link

Update run_UI.py #27

Closed idsj closed 2 years ago

idsj commented 2 years ago

During training, there is a loss of precision when floating-point numbers are converted from numpy.ndarray to torch.Tensor, so the calculated results may have RGB values out of bounds

Jack12xl commented 2 years ago

Good job!