Git Product home page Git Product logo

Comments (6)

karthikr87 avatar karthikr87 commented on May 27, 2024 3

I am facing the same issue. Have you fixed it?

Using TensorFlow backend.
Traceback (most recent call last):
File "extract_patches.py", line 236, in
Patches,Y_labels=pipe.sample_patches_randomly(num_patches,d, h, w)
File "extract_patches.py", line 74, in sample_patches_randomly
gt_im = np.swapaxes(self.train_im, 0, 1)[4]
File "/usr/local/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 585, in swapaxes
return _wrapfunc(a, 'swapaxes', axis1, axis2)
File "/usr/local/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 56, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
numpy.AxisError: axis2: axis 1 is out of bounds for array of dimension 1

from brain-tumor-segmentation.

gopalmani avatar gopalmani commented on May 27, 2024 1

Screen Shot 2019-03-14 at 11 42 57 PM

from brain-tumor-segmentation.

gopalmani avatar gopalmani commented on May 27, 2024

i have the same error . did you get this one?? need help

from brain-tumor-segmentation.

rajdadia avatar rajdadia commented on May 27, 2024

Make sure the system has enough RAM and storage and the file path is proper. The same error worked for me.

from brain-tumor-segmentation.

sapnii2 avatar sapnii2 commented on May 27, 2024

RAM and storage and the file path is proper but getting error same as takrouni

from brain-tumor-segmentation.

ruchika61 avatar ruchika61 commented on May 27, 2024

I faced the same problem . Please help

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.