Giter Club home page Giter Club logo

Comments (4)

william-silversmith avatar william-silversmith commented on September 24, 2024

Thanks for the feedback! Here's what's supported iirc:

bool, int8, int16, int32, int64, uint8, uint16, uint32, uint64, float32, float64

float16 is more difficult to support because it's not a native type in C++ though there are some libraries to help with that. What you can do though (though it might not always work) is:

data.view(np.uint16) which will view the same data as uint16 and may allow it to be processed. Since the particularities of the actual value don't matter, only whether the values are equal, this can be okay.

from connected-components-3d.

aymuos15 avatar aymuos15 commented on September 24, 2024

Sorry, you may have misunderstood me. I mean to say that, just while presenting the error, you could just list out what the available options are so one does not need to come here to check. Like, within the TypeError itself.

I do not (personally) think it is required to add float16 because of what you said about the absence of the native typing.

from connected-components-3d.

william-silversmith avatar william-silversmith commented on September 24, 2024

Ah I already did both! Check out the latest release. The supported types are printed out and float16 is supported for labeled images (but not continuous images).

from connected-components-3d.

aymuos15 avatar aymuos15 commented on September 24, 2024

That sounds great! Thank you so much :)

from connected-components-3d.

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.