I realize that this might be a simple question, but I have been searching for a straightforward answer and cannot find it, neither in the documentation or on forums.
The threads I have found were about very specific questions like converting audio to a tensor via JSON.
So my question is: How do I convert a JSON file to a Tensorflow tensor or tensordataset to then use it to train a neural network with Tensorflow?
2
Answers
Forgive my shallow knowledge,the way I thought is convert json to numpy,then convert numpy to tensor
I am not sure if there have direct way for json to tensor, hope it can help you 🙂
The answer depends on the structure of your JSON data.
You can try this: