Addons: Bug: WeightNorm variable aggregation

Created on 12 Apr 2019  路  2Comments  路  Source: tensorflow/addons

Describe the bug

Since https://github.com/tensorflow/tensorflow/commit/68c4b5234f2c722031f4386f31b8e48a4ec31b2b our nightly test is failing with the error: ValueError: Invalid variable aggregation mode: VariableAggregationV2.MEAN for variable: g

@allenlavoie would you be able to explain this error a little more? The call in addons is:
https://github.com/tensorflow/addons/blob/master/tensorflow_addons/layers/wrappers.py#L128 and I'm not following why that is an invalid mode?

bug layers

All 2 comments

Yep, that's annoying. Guess we need a hacky isinstance check there.

Was this page helpful?
0 / 5 - 0 ratings