# Tensorflow and tensorflowjs incompatibility

**URL:** <https://community.deeplearning.ai/t/tensorflow-and-tensorflowjs-incompatibility/231795>\
**Category:** Browser-based Models with TensorFlow.js\
**Tags:** week-module-3\
**Created:** [November 17, 2022, 12:54pm UTC](https://community.deeplearning.ai/t/tensorflow-and-tensorflowjs-incompatibility/231795 "2022-11-17T12:54:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nitish\_Pandey](https://avatars.discourse-cdn.com/v4/letter/n/4bbf92/32.png) [@Nitish\_Pandey](https://community.deeplearning.ai/u/Nitish_Pandey)\
**Post date:** [November 17, 2022, 12:54pm UTC](https://community.deeplearning.ai/t/tensorflow-and-tensorflowjs-incompatibility/231795/1 "2022-11-17T12:54:40Z")

</div>

When I am using tensorflowjs\_converter to convert the model to json format, it is showing that it is incompatible with tensorflow version 2.2

But it is told in the notebook to install tensorflow version 2.2 for submission purposes

@balaji.ambresh Can you please look into this?

Here’s the link to the colab notebook I am working on: [Google Colab](https://colab.research.google.com/drive/1l1Ms9Y9k0E03U9Fh2fAOcPDGKjWv3cuI?usp=sharing)

---

<div class="post-metadata">

**Author:** ![balaji.ambresh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/balaji.ambresh/32/128697_2.png) [@balaji.ambresh](https://community.deeplearning.ai/u/balaji.ambresh)\
**Post date:** [November 17, 2022, 1:21pm UTC](https://community.deeplearning.ai/t/tensorflow-and-tensorflowjs-incompatibility/231795/2 "2022-11-17T13:21:41Z")

</div>

I’m not a a mentor for tensorflow data and deployment specialization. Please contact a mentor for the specialization to look into grader issues.

---

<div class="post-metadata">

**Author:** ![Nitish\_Pandey](https://avatars.discourse-cdn.com/v4/letter/n/4bbf92/32.png) [@Nitish\_Pandey](https://community.deeplearning.ai/u/Nitish_Pandey)\
**Post date:** [November 17, 2022, 4:31pm UTC](https://community.deeplearning.ai/t/tensorflow-and-tensorflowjs-incompatibility/231795/3 "2022-11-17T16:31:34Z")

</div>

Okay, thank you for your response.

For anyone else reading this thread to find the solution, please downgrade the version of tensorflowjs to something close to the version of tensorflow.

It worked for me.

---

<div class="post-metadata">

**Author:** ![Michael16](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@Michael16](https://community.deeplearning.ai/u/Michael16)\
**Post date:** [February 11, 2023, 7:38pm UTC](https://community.deeplearning.ai/t/tensorflow-and-tensorflowjs-incompatibility/231795/4 "2023-02-11T19:38:52Z")

</div>

How close? I used tensorflowjs-3.18.0 and it’s not working.

---

<div class="post-metadata">

**Author:** ![Abhijit\_Sutar](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@Abhijit\_Sutar](https://community.deeplearning.ai/u/Abhijit_Sutar)\
**Post date:** [February 14, 2023, 11:48am UTC](https://community.deeplearning.ai/t/tensorflow-and-tensorflowjs-incompatibility/231795/5 "2023-02-14T11:48:18Z")

</div>

Can you please specify the tf & tfjs versions ? @Nitish_Pandey

---

<div class="post-metadata">

**Author:** ![tech\_dog](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tech_dog/32/22921_2.png) [@tech\_dog](https://community.deeplearning.ai/u/tech_dog)\
**Post date:** [February 18, 2023, 6:45pm UTC](https://community.deeplearning.ai/t/tensorflow-and-tensorflowjs-incompatibility/231795/6 "2023-02-18T18:45:50Z")

</div>

I am also struggling to find the python, tensorflow, and tensorflowjs versions to support the week 3 assignment. Can you provide specifics on what’s required to pass the test?

---

<div class="post-metadata">

**Author:** ![Nitish\_Pandey](https://avatars.discourse-cdn.com/v4/letter/n/4bbf92/32.png) [@Nitish\_Pandey](https://community.deeplearning.ai/u/Nitish_Pandey)\
**Post date:** [February 21, 2023, 9:42am UTC](https://community.deeplearning.ai/t/tensorflow-and-tensorflowjs-incompatibility/231795/7 "2023-02-21T09:42:01Z")

</div>

I did this assignment long time ago so I don’t remember the exact tf and tfjs versions but please try to keep the tensorflow js version something close to tf version and as far as I remember, you need to use Tensorflow 2.0 so use tfjs version 2 only
