-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
🐛 Error after including custom regressor #1479
Comments
I think it's expecting a list of dictionaries under @zeosmar, let me know if it works with Custom:
- file: /config/faces.csv instead of Custom:
file: /config/faces.csv and I'll update the validator for the next release. |
Thanks @shnizzedy! CPAC was able to validate the nuisance regression. Now, I'm getting the following error message: Because I'm running CPAC for a single subject, I'm using --n_cpus 4 and --mem_gb 4 in my docker command. I've already increased the memory to 10GB, but it still returns the same error. Do you have any suggestion to solve this issue? |
The 'insufficient resources' error at the beginning is an attempt to reduce the instances of out-of-memory crashes during runs, to be able to adjust up-front, but we need to do some tuning; right now, the memory estimates are hard-coded and data-independent, based on common data sizes, but obviously the estimates will be too big for small runs and too small for big runs until we make those estimates data-dependent. These nodes have estimates > 4 GB:
Unfortunately, I don't think there's a particularly clean way around this. If your memory limit is soft (it looks like you're running in Docker on Lisa, so I think your limit) or you're pretty confident your data is small enough that the estimates are overkill, you should be able to just set C-PAC 1.8 includes reporting on observed memory usage, so you / we can compare what was really used to what was estimated / allocated. |
Thanks @shnizzedy, I was able to put my pipeline to run following your suggestion. To provide you more details of my goal using the custom regressor parameter, I'm basically trying to regress out a task timeseries composed by two blocks (faces and shapes), and thus I have two timeseries (faces.csv and shapes.csv). After the completion of the pipeline, I noticed two issues:
Is there any way I could make this work?
|
Hey @zeosmar, sorry for the slow reply.
I think what you're suspecting is correct. That
It looks like there was a bug where each custom file within a regressor was generating a node with the same name as each other custom file in the same regressor. Can you try # Select which nuisance signal corrections to apply
Regressors:
- Name: 'defaultNoGsR'
Motion:
include delayed: true
include squared: true
include delayed squared: true
aCompCor:
summary
method: DetrendPC
components: 5
tissues:
- WhiteMatter
- CerebrospinalFluid
extraction resolution: 2
PolyOrt:
degree: 2
Bandpass:
bottom frequency: 0.01
top frequency: 0.1
method: default
Custom:
- file: /config/faces shapes timeseries/80020_faces1.csv
- file: /config/faces shapes timeseries/80020_shapes1.csv in this image? (Download cpac-docker-image.tar.gz then run |
@zeosmar did you ever get this to work? |
Describe the bug
I'm getting an error message after including a custom regressor to the default config pipeline.
To Reproduce
Steps to reproduce the behavior:
1 - Create a single column .CSV file
2 - Include the custom regressor in the default pipeline
2- Map the csv file in the docker command and run it
Screenshots
Versions
The text was updated successfully, but these errors were encountered: