Skip to content

Conversation

albertz
Copy link
Member

@albertz albertz commented Sep 2, 2021

No description provided.

@albertz
Copy link
Member Author

albertz commented Sep 2, 2021

  File "/home/runner/work/returnn/returnn/returnn/tf/layers/rec.py", line 5230, in DecideLayer.decide
    line: tag = tag.get_for_batch(output.batch)
    locals:
      tag = <local> DimensionTag{'time:var:extern_data:classes'[B&Beam{'output/output'}(4)]}
      tag.get_for_batch = <local> !AttributeError: 'DimensionTag' object has no attribute 'get_for_batch'
      output = <local> Data(name='decision_output', dtype='int32', sparse=True, dim=10, batch_shape_meta=[B,T|'time:var:extern_data:classes'[B&Beam{'output/output'}(4)]])
      output.batch = <local> BatchInfo{B}
AttributeError: 'DimensionTag' object has no attribute 'get_for_batch'

So this needs #613 first.

@albertz
Copy link
Member Author

albertz commented Sep 2, 2021

This was merged as part of #613 now.

@albertz albertz closed this Sep 2, 2021
@albertz albertz deleted the albert-tmp-decide-dim-tag branch September 2, 2021 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant