question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

object has no attribute 'aux_parameters'

See original GitHub issue

Hello,

It seems that after the recent update, I get the following error in my code

torch.nn.modules.module.ModuleAttributeError: ‘FactorizedPrior’ object has no attribute ‘aux_parameters’

To double check, I also executed your examples/CompressAI Inference Demo.ipynb example and I got the same error. Has anything change in the structure of the code?

Thank you again for this nice library

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
navid-mahmoudiancommented, Feb 24, 2021

Ok. Thank you very much for your support. I guess we can close this issue. Thank you again for this very nice framework.

0reactions
jbegaintcommented, Feb 24, 2021

Hi Navid, I’ve trained multiple models with both versions and haven’t noticed any performance difference. But please let me know if you observe any issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Object has no attribute even though function is defined [closed]
Looks like you are missing self parameters in the function. Try like this: def _block(self, in_channels, out_channels, kernel_size): [...].
Read more >
Getting error AttributeError: 'FlatParam' object has no attribute ...
I am getting this error despite the fact that I'm not putting any attribute 'dist' into the FlatParam function, just the test_value argument ......
Read more >
AttributeError: 'Particle' object has no attribute 'x' : r/learnpython
Hi guys, I'm a physics major and we've started doing classes in python. I have an attribute error and I cannot figure it...
Read more >
'Solution' object has no attribute 'set_equivalence_ratio'
I have looked up the "set_equivalence_ratio" and it is an object in the ThermoPhase Class which is a base class for the Solution...
Read more >
AttributeError: 'MultivariateSample' object has no attribute 'train'
While running the python code that is available in the linkclient-libraries-multivariate , i got the below error in "Run the Application" area.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found