Skip to content

Instantly share code, notes, and snippets.

View krmerchant's full-sized avatar

Komel Merchant krmerchant

View GitHub Profile
@krmerchant
krmerchant / pytorch-on-raspberry-pi3.md
Created May 10, 2018 23:20 — forked from fgolemo/pytorch-on-raspberry-pi3.md
How to install PyTorch v0.3.1 on RaspberryPi 3B - Tutorial

How to install PyTorch v0.3.1 on RaspberryPi 3B

Prerequisites

Important I'd recommend you use at least a 16GB sd card. I tried it with an 8GB card and it baaaaarely fits. I had to uninstall a lot of packages and regularly clean up.

Go to https://www.raspberrypi.org/downloads/raspbian/ and download the Raspbian Stretch image (either one).

Use Etcher (from https://etcher.io/) to "burn" the image onto the SD card.

@krmerchant
krmerchant / Makefile
Created February 21, 2017 05:44 — forked from edwardhotchkiss/Makefile
ATtiny85 avr-gcc / avrdude Makefile
DEVICE = attiny85
CLOCK = 8000000
PROGRAMMER = stk500v1
PORT = /dev/tty.usbmodem1421
BAUD = 19200
FILENAME = main
COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE)
all: usb clean build upload