Git Product home page Git Product logo

Comments (20)

Issam28 avatar Issam28 commented on May 24, 2024 2

yes it's probably because of memory when you transform large numpy arrays into np.float you'll quickly run out of memory , i've done this project on a machine that has 64 GO of RAM and i've tested it on google colab which has 13GO of ram and it worked

from brain-tumor-segmentation.

takrouni avatar takrouni commented on May 24, 2024 2

from brain-tumor-segmentation.

sara-kassani avatar sara-kassani commented on May 24, 2024 1

@ritwik12 It's not easy to work with google colab. I've also worked with http://floydhub.com/ and http://paperspace.com/. I recommend you paperspace.

from brain-tumor-segmentation.

TigabuYaya avatar TigabuYaya commented on May 24, 2024 1

In line 74 (gt_im = np.swapaxes(self.train_im, 0, 1)[4]) at extract_patches.py I will get the following error.
ValueError: bad axis2 argument to swapaxes.

This is because your file paths, @ line 216 and 217 ( path_HGG = glob('Brats2017/Brats17TrainingData/HGG/')
path_LGG = glob('Brats2017/Brats17TrainingData/LGG/
')), are not correctly specified.

from brain-tumor-segmentation.

Issam28 avatar Issam28 commented on May 24, 2024

Are you using Brats2017 datasets ? which numpy version do you use?

from brain-tumor-segmentation.

sara-kassani avatar sara-kassani commented on May 24, 2024

I'm using brats 2017 and my numpy version is 1.14.2.

from brain-tumor-segmentation.

Issam28 avatar Issam28 commented on May 24, 2024

it's really weird in my local machine i can't reproduce the error can you give more details ?

from brain-tumor-segmentation.

ritwik12 avatar ritwik12 commented on May 24, 2024

I am also getting the same error

from brain-tumor-segmentation.

sara-kassani avatar sara-kassani commented on May 24, 2024

I've run the code on google colab and the problem was solved. I guess the error caused because of memory error.

from brain-tumor-segmentation.

ritwik12 avatar ritwik12 commented on May 24, 2024

@sara-kassani I have never used colab. Can you guide me how to use this project for colab? if it's not a long procedure for you to explain.

from brain-tumor-segmentation.

ritwik12 avatar ritwik12 commented on May 24, 2024

@sara-kassani ohk, thanks a lot for your help.

from brain-tumor-segmentation.

agungfathur avatar agungfathur commented on May 24, 2024

i try the program, but still error in line 74 with same error. i already try it on google colabs. any solutions?

from brain-tumor-segmentation.

Issam28 avatar Issam28 commented on May 24, 2024

@agungfathur check the filepath of the dataset

from brain-tumor-segmentation.

TigabuYaya avatar TigabuYaya commented on May 24, 2024

Please could you provide me the output?

from brain-tumor-segmentation.

takrouni avatar takrouni commented on May 24, 2024

Good morning,
Please, i need urgently the Brats2017 dataset
Thank you.

from brain-tumor-segmentation.

TigabuYaya avatar TigabuYaya commented on May 24, 2024

Good morning,
Please, i need urgently the Brats2017 dataset
Thank you.

your email, please.

from brain-tumor-segmentation.

Issam28 avatar Issam28 commented on May 24, 2024

for everyone's asking for BraTS 2017 or BraTS 2018 datasets you can request them via this website : https://ipp.cbica.upenn.edu/

from brain-tumor-segmentation.

Wonkun-Chen avatar Wonkun-Chen commented on May 24, 2024

Hello, is there anybody could send me a BraTS2017 datasets please? when I wrote an email to cbica ask for the datasets, they say they dont provide this datasets, only the latest one, so im here search for it. who can send it to my email([email protected])? please!!!

from brain-tumor-segmentation.

TigabuYaya avatar TigabuYaya commented on May 24, 2024

from brain-tumor-segmentation.

cqlouis avatar cqlouis commented on May 24, 2024

In line 74 (gt_im = np.swapaxes(self.train_im, 0, 1)[4]) at extract_patches.py I will get the following error.
ValueError: bad axis2 argument to swapaxes.

This is because your file paths, @ line 216 and 217 ( path_HGG = glob('Brats2017/Brats17TrainingData/HGG/') path_LGG = glob('Brats2017/Brats17TrainingData/LGG/')), are not correctly specified.

yes!
I met the same problem, after I changed the path to absolute path , it worked!

from brain-tumor-segmentation.

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.