Closed kiristern closed 2 years ago
Hi, @kiristern.
nor does it work when following TorchIO example:
As explained in that link, you need to download the dataset first:
This is a helper class for the dataset used in the RSNA-MICCAI Brain Tumor Radiogenomic Classification challenge hosted on kaggle. The dataset must be downloaded before instantiating this class (as opposed to, e.g., torchio.datasets.IXI).
My bad, glossed over that. Found a work around.. i don't want to download the full dataset!
Good! Can you please share the workaround?
Well, in the end i just ended up using the FPG dataset, haha. But that was after I investigated the following ways to download files off kaggle:
Download an individual file with:
!kaggle datasets download -f BraTS2020_TrainingData/MICCAI_BraTS2020_TrainingData/BraTS20_Training_001/BraTS20_Training_001_t2.nii awsaf49/brats20-dataset-training-validation
Download all files from a specific folder in Kaggle:
!kaggle competitions files -c rsna-miccai-brain-tumor-radiogenomic-classification | grep T2w | awk '{print $1}' | while read x ; do kaggle competitions download -f $x rsna-miccai-brain-tumor-radiogenomic-classification -p train/00000/T2w ; done
Looks like you got it sorted then! Thanks for sharing those commands.
Is there an existing issue for this?
Problem summary
Unable to download the dataset.
Code for reproduction
Follow code exactly as is from kaggle using:
nor does it work when following TorchIO example:
Actual outcome
Nothing
Error messages
Expected outcome
get dataset
System info