I found a solution.This applies to any Dataset from Kaggle.So is a permanent solution(Used in Google Colab)
- go to the competition page where you wanna download the .tar
- press f12 and go to network panel
- start the download and cancel it
- You will see a request called train-jpg.tar.7z?..
- right click -> Copy as Curl(bash)
- paste it into notebook and put an ! markin front.
- Very important: add --get at the end of the command
I dont know much bash but i just experimented around.
Took me 3 hours to find this.Its working smooth
after that you can use:-
!p7zip -d train-jpg.tar.7z
!tar -xvf train-jpg.tar
this will extract the data to your path