-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tensor flow version error #35
Comments
I had the same issue. The actual error is with importing segmentation_model: After I installed all libraries from requirements.txt I run this code below and it solved that error:
Answer found on this stackoverflow question: https://stackoverflow.com/questions/67696519/module-tensorflow-compat-v2-internal-has-no-attribute-tf2 Let me know if this solved your issue with importing KeyPointsDetectorModel. I only tested by importing segmentation library, maybe this introduces other errors. |
Ya it is introducing other new errors |
Can you give information on these new errors? @alen1010 Thanks for the help, if the only update needed is a change of versions in the |
I solved the issue that you had but it also introduced another error :
After this cell is finished there is an error in downloading which I ignore:
Please let me know if this works for you, I maybe got lucky. Here is the notebook: https://colab.research.google.com/drive/1ng2I_JrGnZnjg6aCogyc3H624KvOSGVq?usp=sharing |
Your error here is kind of different. You first got error with importing KeypointsDetectorModel but here the error is in KeypointsDatasetBuilder. I was reading that stackoverflow question that I posted link to and found this: So I'm guessing that the error is because of using keras directly instead of tf.keras, also I think that the |
---- After following the Steps [using keras directly instead of tf.keras, also I think that the |
Ok so it seems to after installing the requirements, running
solves issues that are not related to
solves incompatibility issues between |
Thanks for this detailed summary how to update the packages.
Got the updated version running on ubuntu 21 with Python 3.7. |
https://github.com/DonsetPG/narya/blob/master/narya/trainer/keypoints_train.py
Im trying to train my dataset and render keypoints but for past two days im getting this error
The text was updated successfully, but these errors were encountered: