mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
.
This commit is contained in:
parent
704b5dc072
commit
1ee7798fb9
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class XSegModel(ModelBase):
|
|||
|
||||
|
||||
# Average losses and gradients, and create optimizer update ops
|
||||
with tf.device(f'/CPU:0'):
|
||||
with tf.device(f'/CPU:0'): # Temporary fix. Unknown bug with training freeze starts from 2.4.0, but 2.3.1 was ok
|
||||
#with tf.device (models_opt_device):
|
||||
pred = tf.concat(gpu_pred_list, 0)
|
||||
loss = tf.concat(gpu_losses, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue