Import a dataset from figshare to google colab?

937 Views Asked by At

I have a large dataset in figshare website, and I want to use it for training a deep learning model in google colab. Because of amount of data I can not download it and upload it again in google drive. Is there any way to load data from figshare into google colab directly or not?

1

There are 1 best solutions below

4
On BEST ANSWER

You can use wget to download it directly.

For example, from this page

https://figshare.com/articles/dataset/gene_expression_matrix/13011164

You can get the download link and call wget

!wget --content-disposition https://ndownloader.figshare.com/files/24792068

The data is then downloaded.