Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to Generate a .pbtxt from .pb which is trained with the New TF 2 Object detection API

Hi, So I've trained a detector using SDD with mobilnet V2 and trained another one using SSD with efficientdet d0.

Now I need to get the pbtxt file so I can use these models inside the dnn module. Previously I managed to generate a pbtxt and use it in TF 1 but now I'm trying with TF2. The issue is that the pbtxt generator here only works for models trained with TF Object detection API 1 so I was wondering how to go about getting a pbtxt for a .pb file.

How to Generate a .pbtxt from .pb which is trained with the New TF 2 Object detection API

Hi, So I've trained a detector using SDD with mobilnet V2 and trained another one using SSD with efficientdet d0.

Now I need to get the pbtxt file so I can use these models inside the dnn module. Previously I managed to generate a pbtxt and use it in TF 1 but now I'm trying with TF2. The issue is that the pbtxt generator here only works for models trained with TF Object detection API 1 so I was wondering how to go about getting a pbtxt for a .pb file.file in version 2