Post

Replies

Boosts

Views

Activity

Reply to Cannot assign a device for operation ReadVariableOp
Another ***** I encountered this problem when I was trying to run example code from a notebook on Tensorflow-Probability: https://www.tensorflow.org/probability/examples/Probabilistic_Layers_Regression Specifically, Case 5: Functional Uncertainty includes an item not previously seen in the notebook: tf.keras.backend.set_floatx('float64') If I change that to tf.keras.backend.set_floatx('float32') Then the notebook runs. Not well: the numerical stability that prompted the authors to use float64 occur. But it runs. Don't know what this means, but it seems like the missing "ResourceApplyAdamWithAmsgrad" is not the issue. Dunno
Jun ’23