Comments (20)
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.
from brain-tumor-segmentation.
@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.
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.
Are you using Brats2017 datasets ? which numpy version do you use?
from brain-tumor-segmentation.
I'm using brats 2017 and my numpy version is 1.14.2.
from brain-tumor-segmentation.
it's really weird in my local machine i can't reproduce the error can you give more details ?
from brain-tumor-segmentation.
I am also getting the same error
from brain-tumor-segmentation.
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.
@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.
@sara-kassani ohk, thanks a lot for your help.
from brain-tumor-segmentation.
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.
@agungfathur check the filepath of the dataset
from brain-tumor-segmentation.
Please could you provide me the output?
from brain-tumor-segmentation.
Good morning,
Please, i need urgently the Brats2017 dataset
Thank you.
from brain-tumor-segmentation.
Good morning,
Please, i need urgently the Brats2017 dataset
Thank you.
your email, please.
from brain-tumor-segmentation.
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.
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 i
m here search for it. who can send it to my email([email protected])? please!!!
from brain-tumor-segmentation.
from brain-tumor-segmentation.
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)
- error file not found y_training.npy and where there is no variable defined x_patches_valid
- Model not performing well on validation data
- Only integers, slices (`:`), ellipsis (`...`), tf.newaxis (`None`) and scalar tf.int32/tf.int64 tensors are valid indices, got [1, 3] HOT 6
- where is the y_dataset_second_part.npy
- Visualization code is NOT GIVEN!
- Question!
- TypeError: tuple indices must be integers or slices, not tuple
- TypeError: Only integers, slices (`:`), ellipsis (`...`), tf.newaxis (`None`) and scalar tf.int32/tf.int64 tensors are valid indices
- Train.py error HOT 1
- Is there a data augmentation script?
- From where I get the "y_training.npy", "x_training.npy" , "y_valid.npy", "x_valid.npy" patches. Please Guide. Its really urgent HOT 1
- The pretrained weight can't use without .json file.
- How did the pretrained weights be generated? HOT 1
- train with 128x128 pred with 240x240?
- TypeError: ('Keyword argument not understood:', 'input') from model.py
- please how i can print some results predicted by a model trained in png format HOT 1
- extract_pathches.py error HOT 1
- Got Dice_whole_Metric & Dice_Core_Metric values greater than 1 which is not possible. pls solve issue if possible?
- ResUnet Error.
- error with predict.py and model.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brain-tumor-segmentation.