Traceback (most recent call last):


 "Z:\DeepFaceLab\mainscripts\Trainer.py", line 41, in trainerThread

**in_options)


 "Z:\DeepFaceLab\models\ModelBase.py", line 108, in __init__

self.onInitialize(**in_options)


 "Z:\DeepFaceLab\models\Model_DF\Model.py", line 41, in onInitialize

self.autoencoder_src.compile(optimizer=optimizer, loss=[dssimloss, 'mse'] )


 "C:\Users\Singularity\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\engine\training.py", line 830, in compile

sample_weight, mask)


 "C:\Users\Singularity\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\engine\training.py", line 429, in weighted

score_array = fn(y_true, y_pred)


 "Z:\DeepFaceLab\nnlib\__init__.py", line 34, in __call__

loss = (1.0 - tf.image.ssim (y_true*mask, y_pred*mask, 1.0)) / 2.0
AttributeError: module 'tensorflow.python.ops.image_ops' has no attribute 'ssim'

Traceback (most recent call last):


 "/dev/shm/gerrit/venv/stable-3.5/lib/python3.5/site-packages/ipdb/__main__.py", line 168, in main

pdb._runscript(mainpyfile)


 "/home/users/gholl/lib/python3.5/pdb.py", line 1542, in _runscript

self.run(statement)


 "/home/users/gholl/lib/python3.5/bdb.py", line 431, in run

exec(cmd, globals, locals)


 "<string>", line 1, in <module>


 "/tmp/empty.py", line 1, in <module>


 "/tmp/empty.py", line 1, in <module>


 "/home/users/gholl/lib/python3.5/bdb.py", line 48, in trace_dispatch

return self.dispatch_line(frame)


 "/home/users/gholl/lib/python3.5/bdb.py", line 66, in dispatch_line

self.user_line(frame)


 "/home/users/gholl/lib/python3.5/pdb.py", line 259, in user_line

self.interaction(frame, None)


 "/dev/shm/gerrit/venv/stable-3.5/lib/python3.5/site-packages/IPython/core/debugger.py", line 255, in interaction

OldPdb.interaction(self, frame, traceback)


 "/home/users/gholl/lib/python3.5/pdb.py", line 346, in interaction

self._cmdloop()


 "/home/users/gholl/lib/python3.5/pdb.py", line 319, in _cmdloop

self.cmdloop()


 "/dev/shm/gerrit/venv/stable-3.5/lib/python3.5/site-packages/IPython/terminal/debugger.py", line 69, in cmdloop

stop = self.onecmd(line)


 "/home/users/gholl/lib/python3.5/pdb.py", line 412, in onecmd

return cmd.Cmd.onecmd(self, line)


 "/home/users/gholl/lib/python3.5/cmd.py", line 217, in onecmd

return func(arg)


 "/home/users/gholl/lib/python3.5/pdb.py", line 1473, in do_help

self.message(command.__doc__.rstrip())
AttributeError: 'NoneType' object has no attribute 'rstrip'
