-
Notifications
You must be signed in to change notification settings - Fork 75.3k
Porting codebase utilizing tf.slim to TF-2.0 #25227
Description
A lot of my TensorFlow codebase depends upon the use of pretrained models as a part of tensorflow/models/research/slim/nets repository.
I routinely utilize the dictionary of end points provided by tf.slim models in my codebase. Furthermore, the model definitions in the aforementioned repository is impressive and general in the sense that for models like resnet_v2, it allows me to directly specify the output_stride which leads to an automatic specification of dilation rates.
As I aim to write my new codes in TF-2.0 ( as well as thinking of porting my existing codebase to TF-2.0), I realize (based on documentation and my knowledge of Keras !!), that there is no concept of end point dictionaries and output_stride (wherever applicable).
Hence, I am confused about how to handle these situations.
I believe that it could be very reasonable for the TensorFlow team to provide documentation on this issue for it could really make transition to TF-2.0, very simple and practical.