-
Notifications
You must be signed in to change notification settings - Fork 211
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
h5py produce crash of ue 4.20.2 #35
Comments
Strange, perhaps you used a different Tensorflow version for earlier models and this could have, for some reason, cause an incompatibility. The 4.18 build used either https://github.com/getnamo/tensorflow-ue4/releases/tag/0.5.0, https://github.com/getnamo/tensorflow-ue4/releases/tag/0.6.0, or https://github.com/getnamo/tensorflow-ue4/releases/tag/0.7.0 so the matching tensorflow version is between 1.4-1.6. Let's try to downgrade the 4.20 tensorflow version.
Let me know if that solves it, if not see what your logs say under |
Hello, I get a similar issue with UE 4.21.0. I successfully load my model using model_from_json() and the prediction works fine with default weights. However, when I install h5py to load my trained weights using load_weights(), UE crash. @getnamo I tried to follow your method but UE crash with tensorflow 1.5 & 1.6. Any updates on how to solve this issue? Thanks! EDIT: I get the following errors in the crash reporter:
|
I am facing the same error currently with UE4.21.0 |
try downgrading h5py to e.g. 2.7 in https://github.com/getnamo/tensorflow-ue4/blob/master/Content/Scripts/upymodule.json |
Hi,
I used this pluggin with Unreal Engine 4.18 where I was able to load keras models with the load_weights function. This one use h5py module so it was installed as well. And everything worked fine :)
Today i tryed to migrate my work to UE 4.20.2 and tensorflow-ue4 v0.9.0. Python modules seems to be correctly installed, and basic examples works fine.
But when I install h5py module and run my project, the engine crash instantly (even if i dont import/use it in my python script)
I tried to install manually keras and cython too... with no positive effects
This problem disapear when I uninstall h5py (but i can't load my weights anymore).
Have you an idea to solve this issue, or have you some suggestions to save/load keras models without using h5py dependencie ?
Thank you in advance,
--Selim
The text was updated successfully, but these errors were encountered: