DeepFaceLab
DeepFaceLab copied to clipboard
A minor mistake in 'core/leras/nn.py', line 178: nn.current_DeviceConfig = DeviceConfig.BestGPU()
In 'core/leras/nn.py', line 176-179:
def getCurrentDeviceConfig():
if nn.current_DeviceConfig is None:
nn.current_DeviceConfig = DeviceConfig.BestGPU()
return nn.current_DeviceConfig
The class name 'nn' are missed in the 3rd line, and it should be 'nn.current_DeviceConfig = nn.DeviceConfig.BestGPU()'. But it seems that nn.current_DeviceConfig is never None when this method are called, so this mistake never produces any error.