faceswap icon indicating copy to clipboard operation
faceswap copied to clipboard

Fixed dtype error when mixed precision was off

Open bryanlyon opened this issue 1 year ago • 0 comments

When you first try to run a model with some types of layers (such as a modified Phaze-A) without enabling mixed precision, the model can fail to train because the layer wasn't assigned a dtype. To prevent a crash when this happens, we've switched the the config.get function to make sure we get a valid response if no dtype was set.

bryanlyon avatar Apr 10 '23 17:04 bryanlyon