google-research / robotics_transformer

Apache License 2.0
1.29k stars 148 forks source link

How to access the model's tf.Module object #23

Open victor-agilerobots opened 10 months ago

victor-agilerobots commented 10 months ago

Hi, Thanks for sharing the code and dataset.

I am trying to get the RT-1 model working in PyTorch by transpiling the TensorFlow model using Ivy. I am able to load the TF model, but it's in a tensorflow.python.saved_model.load.Loader object, and I didn't find a way to extract a tf.Module object with the RT-1 model from there, which is the object I need to transpile to PyTorch using Ivy. Is there a way to get this object?

Thank you very much in advance.

Victor