Skip to content

Tutorial

Iver Jordal edited this page Oct 24, 2018 · 23 revisions

Clone (or download) the deep-learning-intro repository so you have a local copy. Inside the deep-learning-intro folder, create a file called tutorial.py and paste in the following code for importing the dataset:

import json

with open(os.path.join('data', 'videos.json')) as json_file:
    videos = json.load(json_file)

print('We have {} videos'.format(len(videos)))

Now try to run the program (python tutorial.py). If you have everything set up correctly, it should print

We have 279 videos

Clone this wiki locally