Coder Social home page Coder Social logo

Comments (6)

ChristophKirst avatar ChristophKirst commented on July 18, 2024

This is expected, the file is already written to the data,
change sink parameter to None in order for the voxelization routine to return an array,
please look into the documentation for further support.

from clearmap.

pforai avatar pforai commented on July 18, 2024

Hi Christoph,
In the docs you write that for debugging one can use an optional non-None voxelization parameter in case of debugging, the issue is that if this is set to None the rest of the tutorial fails with the mentioned exception.

from clearmap.

ChristophKirst avatar ChristophKirst commented on July 18, 2024

can you please post the code and indicate where exactly the script fails,
thank you!

from clearmap.

ChristophKirst avatar ChristophKirst commented on July 18, 2024

ps: the routine takes a second argument dataSize which is either an existing file from which the size of the final voxelixed image is determined or a tuple indicating the dataSize, if None is used the size of the image is determined by the extent of the passed points.
To specify writing an image to a file for testing, use the sink argument, i.e. write sink = 'filename';

If this is not resolving the issue please follow my request above.

Thanks

from clearmap.

ChristophKirst avatar ChristophKirst commented on July 18, 2024

pps: in case you write out the data with a non-None sink argument, comment out the
io.writeData line, and everything should be fine

from clearmap.

ChristophKirst avatar ChristophKirst commented on July 18, 2024

i committed an update to the process template script to avoid the errors, please try again if this still fails !

from clearmap.

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.