tensorflow / graphics

TensorFlow Graphics: Differentiable Graphics Layers for TensorFlow
Apache License 2.0
2.76k stars 365 forks source link

Attribute Error in the models.py #730

Open navidkhalilifar opened 6 months ago

navidkhalilifar commented 6 months ago

After running the train.py, I got this error:

  File "/.../graphics/tensorflow_graphics/projects/cvxnet/lib/models.py", line 120, in compute_loss
    update_ops = self.updates
                 ^^^^^^^^^^^^
AttributeError: 'MultiConvexNet' object has no attribute 'updates'

It looks the MultiConvexNet object is not initialized and the error happens. Could you help me to solve the problem.