# Error in restoring the saved model

**URL:** <https://discuss.ray.io/t/error-in-restoring-the-saved-model/9106>\
**Category:** RLlib\
**Created:** [January 26, 2023, 10:42am UTC](https://discuss.ray.io/t/error-in-restoring-the-saved-model/9106 "2023-01-26T10:42:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AI360](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@AI360](https://discuss.ray.io/u/AI360)\
**Post date:** [January 26, 2023, 10:42am UTC](https://discuss.ray.io/t/error-in-restoring-the-saved-model/9106/1 "2023-01-26T10:42:22Z")

</div>

Hello every one,

I have trained an agent and I saved the model. Now, I move the saved model on another system, I get this error:

File “/usr/local/lib/python3.8/dist-packages/ray/tune/trainable/trainable.py”, line 783, in restore  
self.load\_checkpoint(to\_load)  
File “/usr/local/lib/python3.8/dist-packages/ray/rllib/algorithms/algorithm.py”, line 2004, in load\_checkpoint  
checkpoint\_data = Algorithm.\_checkpoint\_info\_to\_algorithm\_state(  
File “/usr/local/lib/python3.8/dist-packages/ray/rllib/algorithms/algorithm.py”, line 2562, in \_checkpoint\_info\_to\_algorithm\_state  
worker\_state[“policy\_states”][pid] = pickle.load(f)  
ModuleNotFoundError: No module named ‘tensorflow.python.trackable’

Could you help me how to solve this problem?

Thanks,

---

<div class="post-metadata">

**Author:** ![arturn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/arturn/32/2096_2.png) [@arturn](https://discuss.ray.io/u/arturn)\
**Post date:** [February 15, 2023, 1:39am UTC](https://discuss.ray.io/t/error-in-restoring-the-saved-model/9106/2 "2023-02-15T01:39:25Z")

</div>

> [@AI360](#):
>
> tensorflow.python.trackable

You might want to reinstall tensorflow.  
Make sure that Tensorflow is up to date with Rllib’s requirements.  
Please also make sure that the checkpoint is from the same Ray version.
