What are the constraints for tensorflow scope names?

前端 未结 1 1533
不知归路
不知归路 2020-12-15 20:00

I\'m running a tensorflow model and getting the following error:

ValueError: \'Cement (component 1)(kg in a m^3 mixture)\' is not a valid scope name.

I get t

相关标签:
1条回答
  • 2020-12-15 20:21

    From the TF source:

    NOTE: This constructor validates the given name. Valid scope

    names match one of the following regular expressions:

    [A-Za-z0-9.][A-Za-z0-9_.\\-/]* (for scopes at the root)
    [A-Za-z0-9_.\\-/]* (for other scopes)
    
    0 讨论(0)
提交回复
热议问题