Hi TensorFlow.js team,
I noticed that the npm package @tensorflow-models/speech-commands@0.5.4 still specifies peer dependencies on TensorFlow.js 3.x:
"peerDependencies": {
"@tensorflow/tfjs-core": "^3.0.0",
"@tensorflow/tfjs-data": "^3.0.0",
"@tensorflow/tfjs-layers": "^3.0.0"
}
However, the GitHub repository's package.json already lists peer dependencies compatible with TFJS 4.x:
"peerDependencies": {
"@tensorflow/tfjs-core": "^4.13.0",
"@tensorflow/tfjs-data": "^4.13.0",
"@tensorflow/tfjs-layers": "^4.13.0"
}
This discrepancy makes it impossible to install speech-commands in projects using TFJS 4.x without using --legacy-peer-deps or other workarounds.
Would it be possible to publish an updated npm release of @tensorflow-models/speech-commands that officially supports TFJS 4.x? This would greatly help developers using the latest TFJS ecosystem.
Thanks for your attention and your work on TensorFlow.js!