patlevin / tfjs-to-tf

A TensorFlow.js Graph Model Converter
MIT License
139 stars 18 forks source link

Converting.... Error: 226 nodes in a cycle #39

Closed zighem25 closed 2 years ago

zighem25 commented 2 years ago

System information

OS Platform and Distribution: Ubuntu 18.04.5 LTS TensorFlow version: 2.9.1 Keras version: 2.9.0

I'm getting Converting.... Error: 226 nodes in a cycle when trying to convert mediapipe facemesh model. Any help to fix this issue ? Thanks.

patlevin commented 2 years ago

Bonjour !

I have been able to reproduce the issue and I am looking into it right now. Thank you for letting me know about this problem.

I will try to fix this ASAP.

patlevin commented 2 years ago

The problem only exists in the latest version (I introduced this bug when trying to fix a different problem).

As a quick workaround you can use v1.6.0 instead, which doesn't have this problem.

zighem25 commented 2 years ago

Many thanks @patlevin it works with v1.6.0