TensorFlow.NET icon indicating copy to clipboard operation
TensorFlow.NET copied to clipboard

[Performance Issue]: h.5 isn't supported

Open Naonao9527 opened this issue 1 year ago • 5 comments

Brief Description

Unhandled exception. System.NotImplementedException: Model load of h5 format has not been supported. Please submit an issue to https://github.com/SciSharp/TensorFlow.NET/issues if it's needed.

Device and Context

.net8 tensorflow 2.150 win-X64

Benchmark

No response

Alternatives

No response

Naonao9527 avatar Jul 11 '24 00:07 Naonao9527

Do you have a fix? @Naonao9527

Hoai-Phong avatar Aug 07 '24 08:08 Hoai-Phong

not yet,I use tensorflow of python instead.

Naonao9527 avatar Aug 07 '24 08:08 Naonao9527

@Naonao9527 can you share it with me? I see net 6 only. net 8 not ok

Hoai-Phong avatar Aug 07 '24 08:08 Hoai-Phong

The .h5 file was created by python,I wanted to load it in .net,Maybe it's the reason why it don't work.you can try it again in your computer.

Naonao9527 avatar Aug 07 '24 08:08 Naonao9527

yes, my h5 file is also read from python, but when read through net 8, it has the same error. I can't read h5 file from net

Hoai-Phong avatar Aug 07 '24 08:08 Hoai-Phong