-
Notifications
You must be signed in to change notification settings - Fork 30
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
RF: Delegate isotropic smoothing to nistats #118
Conversation
Sketch implementation of smoothing kernel in nistats
You are running out of memory. Try not to parallelize 4 models at a time or increase the RAM available to the docker engine. |
use 0 to denote that contrast does not include parameter
subst na in place
fix smoothing params and arg
fix smoothing params and arg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this. A few comments. Also, I would recommend modifying the Dockerfile by removing this section of .neurodocker.json
, and then re-running neurodocker
:
Lines 21 to 26 in bebc4c7
[ | |
"fsl", | |
{ | |
"version": "5.0.11" | |
} | |
], |
cat .neurodocker.json | \
docker run --rm -i -a stdin -a stdout -a stderr kaczmarj/neurodocker:master generate docker - > \
Dockerfile
I can do this and push to your branch, if that's easier.
@@ -94,6 +94,7 @@ def _visualize(self, data, out_name): | |||
contrast_matrix = pd.DataFrame({c['name']: c['weights'][0] | |||
for c in self.inputs.contrast_info}, | |||
index=data.columns) | |||
contrast_matrix.fillna(value=0, inplace=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. I'll need to look into this. nan
should be fine for plotting matrices, and will simply show up as white, rather than the intermediate gray. But this seems fine, if nan
is no longer possible.
Co-Authored-By: kfinc <karolinafinc@gmail.com>
update to reflect @effigies review
LGTM. Is this still a WIP? |
Everything works fine, so I think it's no longer WIP. Thanks everyone for help! |
This PR delegates smoothing to Nistats. After making the changes we came into multiprocessing error. Any idea why this may be happening? Thanks in advance for any help!
Expand to see stack trace