Attribute Error in the models.py
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python, tensorflow
- Domain
- machine-learning
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.
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.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
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.
More from tensorflow/graphics
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
tensorflow/graphics#468 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
tensorflow/graphics#5337 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tensorflow/graphics#729 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
tensorflow/graphics#724 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
tensorflow/graphics#719 ·
All issues in tensorflow/graphics
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100