Closed VeereshVS closed 3 years ago
Which TensorFlow and Keras version you are using? I encountered the same error on keras 2.3.1/tf2.keras. It is due to how the newer version handles input requirements. You can either downgrade your keras/tf or make some changes to the code base to make it work on tf2.
Thank you, I was using tf 2.3.1 version only. I upgraded the tf to 2.4 and made some changes in box net and class net call function it works now. Sry. Haven't updated the issue here.
Thank you, I was using tf 2.3.1 version only. I upgraded the tf to 2.4 and made some changes in box net and class net call function it works now. Sry. Haven't updated the issue here.
Can you elaborate on what changes were made in the call() function to get this to work?
@VeereshVS What changes did you make to the box net and class net call functions?
I also encountered the same problem.
As i am running the training code with coco dataset. Getting the error - ValueError: It appears you are trying to construct a functional model, but not all of the inputs in the first positional argument of your layer call are symbolic tensors. (Input objects, or the output of another layer) Functional models cannot correctly track custom layers unless all values in the first call argument are symbolic.
Getting error in efficientdef function in model.py
getting above error at line -> _classification = [class_net([feature, i]) for i, feature in enumerate(fpn_features)]_
tensorflow and keras versions used are same as the one's in requirement.txt