Giter Site home page Giter Site logo

sayedmohamedscu / zindi_colab Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 4.0 561 KB

Download Zindi's compositions datasets directly to google colab

Jupyter Notebook 100.00%
python colab-notebook zindi machine-learning deep-learning computer-vision data-science zindi-hackathon

zindi_colab's Introduction

Zindi_colab

Download Zindi's compositions datasets directly to google colab


What is Zindi?

Zindi is Zindi is a social enterprise whose mission is to build the data science ecosystem in Africa. Our vision is for a vibrant community of data scientists across Africa, mobilized towards solving the region’s most pressing problems.


How to download Zindi's Datasets directly to Colab ?

we need to get the URL and the authentication value

  1. joining the competition
  2. Right click in the page + Inspect
  3. click the top left icon or (Ctrl + shift +c)
  4. then click on the dataset name (training for example ) you will see that the right page will show the Web script which contain the URL of the dataset and the authentication value
  5. copy them and use the python script in colab to download them directly

import requests
import requests, zipfile

#the url and auth_value from the website 
url = 'https://api.zindi.africa/v1/competitions/iclr-workshop-challenge-1-cgiar-computer-vision-for-crop-disease/files/train.zip'
myobj = {'auth_token': 'sfffghgghgvkhuf'} #use your own

x = requests.post(url, data = myobj,stream=True)
target_path = 'data.zip'

handle = open(target_path, "wb")
for chunk in x.iter_content(chunk_size=512):
    if chunk:  # filter out keep-alive new chunks
        handle.write(chunk)
handle.close()

!unzip -qq /content/data.zip


First

sec

3rd

zindi_colab's People

Contributors

sayedmohamedscu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.