tensorflow / tensorflow/graphics
Attribute Error in the models.py
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the error by running train.py, then inspect lib/models.py around line 120 in MultiConvexNet.compute_loss and trace how the object is initialized. Determine why self.updates is unavailable and verify that training proceeds without this AttributeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100