Error Converting a Frozen (.pb) Model to UFF

Hello! I am trying to convert a frozen .pb model that I have for a CNN to a UFF model that I can use with TensorRT in ROS. I first need to find out what the output node name for the .pb model is. I am running a script that I found online to help me do that. However, I am running into the error shown in the screenshot attached. Is there any solution for this? I don’t really fully understand what’s wrong and I can’t seem to find much help about this online! I’d appreciate any help possible greatly!


Do you use the .pb file under the save_model folder?
If yes, could you check this page to see if the suggestion helps?