-1
$\begingroup$

I would like to know how we can see/load/read a .pb file in Google Colab?

Thank you.

$\endgroup$

1 Answer 1

1
$\begingroup$

I think this snippet will help you.

import tensorflow as tf
model_path = "/PATH/TO/YOUR/FILE.pb"
model = tf.saved_model.load(model_path)

Source

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.