Open aptxyz opened 1 year ago
Hi, @aptxyz
Apologize for the delayed response and thank you for bringing this issue to our attention, I checked @tensorflow-models/face-landmarks-detection
and it's using this version "^3.12.0"
and for this package @tensorflow-models/face-detection@1.0.2
it's using "^4.4.0"
Could you please try to use this package version @tensorflow-models/face-detection@1.0.1
where it's using this version "^3.14.0"
and let us know whether is it working as expected or not ?
We'll dig more into this issue with dependancies conflict and if possible we'll try to update package dependancies for @tensorflow-models/face-landmarks-detection
to V4
because it's using the V3
package versions at the moment. Thank you!
I think I did tried install all three together face-detection@1.0.1
along with tfjs@3
& face-landmarks-detection@1.0.2
without warning, and it's working as expected. But I eventually just download models from tfhub and use tfjs@4
as backend for various reasons.
I'm running into the same issue. I also tried face-detection@1.0.1
along with tfjs@3
and face-landmarks-detection@1.0.2
without success.
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
This issue was closed due to lack of activity after being marked stale for past 7 days.
Hey was anyone able to resolve this issue?
This was never resolved. A maintainer ought to fix this!
Can someone please fix this?
I did --legacy-peer-deps. but now It's creating an issue in production.
Can confirm the issue still exists. Can't even run the demos from the official repository.
This should now be fixed as of face-landmarks-detection 1.0.6, and it should no longer request version 3 and 4 of TFJS at the same time. I'll reopen this for now until I get confirmation that the fix works for your project.
@mattsoulanille, thank you so much for the follow-up! I've tested on a branch for my project and can confirm that the dependency conflict has been resolved 🎉 So this issue can be closed 🙇 However, for my use case, the library still cannot be used in production due to https://github.com/tensorflow/tfjs/issues/8290. Looks like this model (maybe others?) are not compatible with https://vitejs.dev/ It would be hugely helpful if you could have a look if there's anything that can be done to fix that situation 🙏 I'll leave some notes there on my findings so far.
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information
Describe the problem
npm install @tensorflow-models/face-landmarks-detection
dependency conflict, the face landmarks detection model use tfjs v3, however the model 'face-detection@1.0.2' update tfjs from v3 to v4