Giter Club home page Giter Club logo

Comments (5)

wentaozhu avatar wentaozhu commented on August 18, 2024

1 Could you please help me check the range of data = np.load(os.path.join(preprocesspath, pid+'_clean.npy'))
2 Sometimes the shape of data is smaller than bgx+CROPSIZE, bgy+CROPSIZE, bgz+CROPSIZE

from deeplung.

codingwolfman avatar codingwolfman commented on August 18, 2024

oh, the range of data is enough for cropsize, i didn't realize numpy is ok when out of range.
but , i still don't understand why you use 2-cropdatatmp to fill the cropdata, and i think cropdatatmp=np.array(data[0,bgx:crdx+cropsize/2,bgy:crdy+cropsize/2,bgz:crdz+cropsize/2) may be better

from deeplung.

wentaozhu avatar wentaozhu commented on August 18, 2024

I mean the min value and max value for the range.

from deeplung.

codingwolfman avatar codingwolfman commented on August 18, 2024

x : 117 378
y: 160 392
z: 168 400

from deeplung.

wentaozhu avatar wentaozhu commented on August 18, 2024

I think it should be np.array(cropdatatmp), not np.array(2-cropdatatmp)

It should not affect the GBT results because tree classifier is not affected by input range. Maybe you can get better results after changing it.

from deeplung.

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.