GithubHelp home page GithubHelp logo

Smoothing.npy about clearmap2 HOT 3 CLOSED

christophkirst avatar christophkirst commented on July 26, 2024
Smoothing.npy

from clearmap2.

Comments (3)

ChristophKirst avatar ChristophKirst commented on July 26, 2024

Hi,
i am not sure why this is.
If you move the Smoothing.npy file to a different folder (for backup) but keep the zip file
and then try:

import os
import ClearMap.ImageProcessing.Smoothing as sm
filename = os.path.join(os.path.dirname(os.path.abspath(sm.__file__)), sm.smooth_by_configuration_filename);
sm.fu.uncompress(filename, verbose=True)

and see what the output is ?
If there are errors does

import zipfile 

give you any errors ?

from clearmap2.

PTRRupprecht avatar PTRRupprecht commented on July 26, 2024

Thanks for the replies!

If I execute your code, the npy-file is properly generated and has the same file size as it should have. Maybe there is no problem after all? I'm wondering why it did not work when I ran the smoothing code in the beginning. But maybe it's okay to close the issue -- right now, I'm anyway using the previously generated npy-file, so I don't have any real issues.

from clearmap2.

ChristophKirst avatar ChristophKirst commented on July 26, 2024

I tested with a new install, and i did not get the error / the zip file uncompressed without problem.
Closing this for now.

from clearmap2.

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.