Coder Social home page Coder Social logo

Error reading .h5 file about scalismo HOT 4 CLOSED

Ghazi-Bouabene avatar Ghazi-Bouabene commented on September 4, 2024
Error reading .h5 file

from scalismo.

Comments (4)

marcelluethi avatar marcelluethi commented on September 4, 2024

Hi Ghazi,

Thanks for reporting this. What exactly do you mean by legacy .h5 file? Is a very old one that was still produced by statismo or another software? Does it work for other h5 files that you are workign with? I am asking because I am trying to figure out how severe this bug is.

The reason that we have Array[String] here is that this was required when using the other implementation of h5. As this case does not seem to be covered by our tests, I might have missed it.

from scalismo.

Ghazi-Bouabene avatar Ghazi-Bouabene commented on September 4, 2024

Hi Marcel,

Thanks for the quick reply. The .h5 file was built by a customer of Shapemeans, most likely with the Statismo CLI. The issue does not seem to happen with .h5 files we generated with Scalismo.

Given that changing an already computed model is a least favorable option, should we consider dropping the cast to Array if it is no longer required by jhdf?

from scalismo.

marcelluethi avatar marcelluethi commented on September 4, 2024

Good to know that it only happens in legacy files.

Yes, we should fix this and also the subsequent method, where we have the same bug for attributes of type int.
Once this is fixed, I can release a version 0.91.2. Do you want to do a PR?

from scalismo.

Ghazi-Bouabene avatar Ghazi-Bouabene commented on September 4, 2024

sounds good. Will do a PR soon then.

from scalismo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.