patlevin / tfjs-to-tf

A TensorFlow.js Graph Model Converter
MIT License
136 stars 19 forks source link

closes #39 #40

Closed patlevin closed 1 year ago

patlevin commented 1 year ago

Fix Issue #39

Root cause: duplicate node names during fused op splitting. Fixed by simplifying node name generation.

Changes

  1. Replaced overcomplicated node name generation - unique names are guaranteed by simply appending split node op names to the original node name
  2. Added missing model file to unit tests model generator (unit tests didn't pass otherwise - only noticed this since I changed dev machines)
  3. Fixed some test data (test models were a little off)
  4. Switched build specs to PEP 518 and PEP 621
  5. No-Op nodes with dummy references caused issues and are ignored during conversion (i.e. copied as-is)