-
Notifications
You must be signed in to change notification settings - Fork 84
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 in downloading: " urlopen error [Errno 60] Operation timed out " #15
Comments
Hi Guixiang,
Yes, it is still working! I've just tested here on my laptop.
Could you please provide us with the arguments that you are using to
download the ABIDE dataset? On the download_abide_preproc.py script.
This combination of arguments worked for me:
```download_abide_preproc.py -d reho -p cpac -s filtnoglobal -o reho -t PITT```
It could also be an instability on your network.
Thank you for reaching out!
Anibal Sólon
Em seg, 18 de jun de 2018 às 13:39, Guixiang Ma <[email protected]>
escreveu:
… Hi,
I tried to run the "download_abide_preproc.py" script to download ABIDE
preprocessed data from S3, but met the following error:
urllib.error.URLError: <urlopen error [Errno 60] Operation timed out>
I am wondering if the given url is still working? Or is there any update
for that?
Any suggestion or comment is much appreciated!
Thank you!
Guixiang
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#15>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAiVXbJH6UdEVGJtOArVi1j6X68Ufdl_ks5t9-XWgaJpZM4UsL_J>
.
|
Hi, |
Hi Abdelbasset,
Have you modified the script by any change? I noticed that it has an "_up"
in the file name.
In any case, the package *nilearn* provides a function to download the
ABIDE dataset. For now, it does not offer you an option to select data from
a specific site, but I will open a pull request to change it.
https://nilearn.github.io/modules/generated/nilearn.datasets.fetch_abide_pcp.html
Best,
Anibal Solon
Assistant Research Scientist
Computational Neuroimaging Laboratory
p: 646.625.4378
e: [email protected] <[email protected]>
Child Mind Institute
445 Park Avenue (entrance on 56th Street)
New York, NY 10022
childmind.org <https://aidbox.org/ct/?i=638132000000914&t=1>
…On Fri, Jan 11, 2019 at 11:15 AM AbdelbassetBrahim ***@***.***> wrote:
Hi,
I used the "download_abide_preproc.py" script to download ABIDE
preprocessed, as following, for CMU site: python
download_abide_preproc_up.py -d func_preproc -p cpac -s filt_global -o
/path for data -t CMU
However the resulting files are not for all the subjects in the site and
there are several error messages:"Error extracting info from phenotypic
file, skipping..."
I tried for other sites also and the number of downloaded files always
less than the number of subjects.
I used also the fetch_abide_pcp function in nilearn and I did not get all
the subjects for each site.
Could you please provide me a script to download all the subjects for each
site.
Thank you in advance.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAiVXQXriBewbdOjlKhz0PkSKtGXjsgPks5vCLi9gaJpZM4UsL_J>
.
|
Just found out that they already have the site filter, but it is not clear on the documentation. For example, this python command will download your data into "/tmp": nilearn.datasets.fetch_abide_pcp('/tmp',
derivatives=['func_preproc'],
pipeline='cpac',
band_pass_filtering=True,
global_signal_regression=True,
SITE_ID=['NYU']) |
Hi Anibal, |
It is probably because of the quality control. You can disable the quality control with the option |
@Jeansma @anibalsolon @AbdelbassetBrahim @czarrar @pbellec Recently I have downloaded ABIDE 1 Preprocessed dataset by fetching it from “Nilearn”. The code is here abide_dataset = nilearn.datasets.fetch_abide_pcp(data_dir=’/content/ABIDE’, n_subjects=None, pipeline=‘cpac’, band_pass_filtering=True, global_signal_regression=True, derivatives=[‘func_preproc’], quality_checked=False, verbose=1) By disabling the quality control parameter I was able to download fMRI images of only 1035 subjects… In the phenotype information (CSV file) remaining 77 subjects file_name was mentioned as no_filename… Does these subjects have only phenotype information (no fMRI images)? It will be of great help if any one can give a clarification |
Hi,accoding to my experience with this database and when using nilearn.datasets.fetch_abide_pcp, you can download till 1035 subjects when quality_checked=False. However, you will have 871 subjects when quality_checked=True. This is the only input parameter in this function that can affects the number of subjects...Hope it helps.Cordially.
Le jeudi 3 octobre 2019 à 11:19:39 UTC+2, Devika-k <[email protected]> a écrit :
@Jeansma @anibalsolon @AbdelbassetBrahim @czarrar @pbellec
Recently I have downloaded ABIDE 1 Preprocessed dataset by fetching it from “Nilearn”.
pipeline: cpac
derivatives: func_preproc
The code is here
abide_dataset = nilearn.datasets.fetch_abide_pcp(data_dir=’/content/ABIDE’, n_subjects=None, pipeline=‘cpac’, band_pass_filtering=True, global_signal_regression=True, derivatives=[‘func_preproc’], quality_checked=False, verbose=1)
By disabling the quality control parameter I was able to download fMRI images of only 1035 subjects… In the phenotype information (CSV file) remaining 77 subjects file_name was mentioned as no_filename…
Does these subjects have only phenotype information (no fMRI images)?
Does the number of subject’s (fMRI images) depends on the choice of pipeline and derivative?
Is it possible to download fMRI images of 1112 subjects using nilearn?
It will be of great help if any one can give a clarification
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@AbdelbassetBrahim |
You can try this python script and see: download_abide_preproc.py |
hi, while downloading abide dataset using fetch_abide_pcp , I am getting connection error in between . |
Hi,
I tried to run the "download_abide_preproc.py" script to download ABIDE preprocessed data from S3, but met the following error:
urllib.error.URLError: <urlopen error [Errno 60] Operation timed out>
I am wondering if the given url is still working? Or is there any update for that?
Any suggestion or comment is much appreciated!
Thank you!
Guixiang
The text was updated successfully, but these errors were encountered: