Understanding the Dataset & DataLoader in PyTorch

Update on 9-Apr-2020

  1. I have created a very simple example on Github. Please take a look at the link.
  2. I had an opportunity to present regarding Faster R-CNN. The slides can be found here. Note, I adapted figures from multiple sources (inc. textbooks, blog posts, etc); the original material can be found from links on the slides.

Background


What is EMI?

EMI-10: Python. Generator

# list_of_int.txt
23
21
9
12
3

Example 10.1: Create a simple function

def int_gen_func(filename):
"""A simple…

Photo by Stephen Dawson on Unsplash
  1. how to deploy a Dash application on AppEngine;
  2. how to…


Miscellaneous notes related to coding, machine learning, data science

EMI-5: Python. Jupyter notebook, execute Terminal command

echo command on Jupyter Notebook
my_dir
├── img_1.png
├── img_2.png
├── img_3.png
└── img_4.jpg

EMI-6: Python. Find the longest sub-list from the main-list.

# main list
m_l = [[32, 37, 4, 999999999, 43]…

Authorised users only


Miscellaneous notes related to coding, machine learning, data science

Introduction

Rensei: drilling, training

EMI-1: Python. Comprehension and generator

#…


Photo by Markus Winkler on Unsplash

Takashi Nakamura, PhD

Data scientist and machine learning engineer. PhD in Signal Processing for Neuroscience. https://www.linkedin.com/in/takashi-nakamura-004875a6/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store