using .json pretraind model in matlab
Mostrar comentarios más antiguos
i download pretrained model from this url: https://tfhub.dev/mediapipe/tfjs-model/handpose_3d/detector/full/1?tfjs-format=compressed
and now i have two files: 1)model.json 2)group1-shard1of1.bin
how can i use this pretrined model in matlab
or convert this pretrained model to .h5 model
Respuestas (1)
Shreeya
el 5 de Sept. de 2023
0 votos
Hi Amir
You can import a pretrained JSON/h5 model in matlab as a neural network using the "importKerasNetwork".The argument passed to the function is the file name of the model you wish to import. It returns a pretrained keras neural network which can be used for further prediction tasks.
Refer to the documentaion for more details: https://in.mathworks.com/help/deeplearning/ref/importkerasnetwork.html
Hope this helps.
3 comentarios
Amir Azadeh Ranjbar
el 5 de Sept. de 2023
Shreeya
el 6 de Sept. de 2023
Try passing in the .bin file as the 'WeightFile' argument.
Amir Azadeh Ranjbar
el 12 de Sept. de 2023
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
