Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dimension problem #3

Open
red-lighting opened this issue Oct 29, 2018 · 5 comments
Open

dimension problem #3

red-lighting opened this issue Oct 29, 2018 · 5 comments

Comments

@red-lighting
Copy link

hello
why does it have five deimensions?I know it has x, y, z and the number of patient, but what is the sc?

@laurahanu
Copy link
Owner

The other one is for the number of colour channels e.g. 3 RGB for colour or 1 for b&w

@red-lighting
Copy link
Author

Excuse me, how do you add the dimension of channel to the 4D matri with x, y, z, the number of patients in Matlab or python. I have created the 4D matri.What's more, do you convert the matri to the file named .npy directly in python?

@laurahanu
Copy link
Owner

There's a numpy function to add an extra dimension: numpy.expand_dims. And yes the .mat file can be coverted to .npy in python

@red-lighting
Copy link
Author

hello,do you run the code with gpu. I didn't run it in anaconda. I try to configure the theano with gpu, but it mention that there is no pygpu modual. However, there is no pygpu modual that can download in the internet. Did you have trouble in this problem?

@laurahanu
Copy link
Owner

Yes I did use a gpu. Think that's something you have to import/install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants