A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Separate names with a comma.
Discussion in 'ML-Agents' started by unity_bvYSjU_BlRS8eA, Jun 30, 2020.
How can I export my .nn model into Keras .h5 model in unity ml agents?
I'm pretty sure someone from the Unity team will have more reliable information, but I'd personally try with the protobuf file that is created during training. Both protobuf and HDF5 store the graph and weights so I'm sure there are plenty of ways to convert it.
Converting the .nn to other formats is not supported. I'd try to convert the Tensorflow models (frozen_graph.pb) that are created after training; they can be found in the results/run_id/behavior_name folder after training.
I think there should be a way to save a model into .h5, it would way easier to get the model. Also I was thinking to train a DRL model in unity, and test it in real-world hardware, so I need a simple Keras model that has trained in unity environment , but I can inference it in real world, is that possible ?