-
Notifications
You must be signed in to change notification settings - Fork 2
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
infer_bert
-- raises "Attempt to free invalid pointer" on loading and inferring tensorflow model
#49
Comments
Hi @edloginova, and thanks for reporting on so
Got this result.zip
It seems to be Tensorflow issue and attempt to allocate memory by |
It's running on Tesla T4 with 15 109 MiB, I am afraid. I reinstalled tensorflow to match your version, but it doesn't seem to fix things. Shall I ask deeppavlov community whether it is on their side? |
No, i think you should not since this is not because of an issue in their code, but more closer to something low-level, i.e. tensorflow in combination with colab. You're not the only who encountered related with it... I will take a look in a details and once find something will let my advice here on so You may also check for gpu availability from tensorflow and |
Yes, I checked it with |
Well, I would love to assist you more then, however I am lack of other solutions on so for now That might also falls onto new |
infer_bert
-- raises "Attempt to free invalid pointer" on loading and inferring tensorflow model
@edloginova, as an alternative solution I have reproduced the same but Conider the following labels conversion
|
@edloginova, may I kindly asked you whether you finally sort it out or it is still challenging? |
I'm afraid I haven't figured it out yet :( Your help would be greatly appreciated, if you have time! |
Okay, thanks for letting me know! Will have a look on a spare time. By the way, I've noticed you use
I will have a look on a spare time, and keep update once give it a try to test it. |
I switched to 3.6, but afraid to report it's still the same error :( |
@edloginova , please try
(DeepPavlov and AREkit keeps data at Ps: wish you all the best and even greater advances in 2023 🎉🎄 |
@nicolay-r IT WORKS! Thank you so much :))) I should have thought of that myself... Thank you for your patience! |
@edloginova , thanks for your interest and feedback on so, and kind wishes! Feel free and don't hesitate to contact me in case of other questions ✨ |
When running
I get
and the process freezes.
Google colab, Python 3.7, tensorflow 1.15.0, numpy 1.21.6, deeppavlov 0.11.0, arekit installed from git. Tried restarting the runtime, doesn't help.
The text was updated successfully, but these errors were encountered: