DeepLearning.AI
OperatorNotAllowedInGraphError: using a `tf.Tensor` as a Python `bool` is not allowed in Graph execution. Use Eager execution or decorate this function with @tf.function
Course Q&A
Deep Learning Specialization
Convolutional Neural Networks
coursera-platform
TimoteiBidila
June 29, 2021, 5:32pm
4
Hello! Can you please explain how you solved the error? I am encountering it too.
2 Likes
DLS course 4 CNN- Week 1 assignment 2- Application of CNN models
show post in topic
Related topics
Topic
Replies
Views
Activity
Week 1 Assignment 2 Exercise 2 OperatorNotAllowedInGraphError in ReLU
Convolutional Neural Networks
coursera-platform
2
595
November 6, 2022
[Week 1] As 2 - Exercise 2 - OperatorNotAllowedInGraphError
Convolutional Neural Networks
coursera-platform
4
661
August 20, 2021
DLS_C4_W1_Assign2_Exercise 2 - convolutional_model
Convolutional Neural Networks
coursera-platform
4
806
December 12, 2022
Course4 Week 1 Assignment 2 Exercise 2
Convolutional Neural Networks
coursera-platform
7
973
February 24, 2022
Week 1 programming assignment woes
Convolutional Neural Networks
coursera-platform
2
545
July 30, 2021