Skip to content

Instantly share code, notes, and snippets.

View JoeyTPChou's full-sized avatar
🎯
Focusing

Joey (Tien Pei) Chou JoeyTPChou

🎯
Focusing
  • Intel
  • Bay Area
View GitHub Profile
@JoeyTPChou
JoeyTPChou / autotune_rpc_mali_error.py
Created January 6, 2020 22:10
Autotuning warrnings/errors on RK3399 Mali using RPC.
#! /usr/bin/env python3
import tvm
import tvm.relay as relay
import tvm.contrib.graph_runtime as runtime
from tvm import autotvm
from tvm.autotvm.tuner import XGBTuner, GATuner, RandomTuner, GridSearchTuner
from tvm.contrib.util import tempdir
import os
@JoeyTPChou
JoeyTPChou / tegra-cam.py
Created October 11, 2019 17:46 — forked from jkjung-avt/tegra-cam.py
Capture and display video from either IP CAM, USB webcam, or the Tegra X2/X1 onboard camera.
# --------------------------------------------------------
# Camera sample code for Tegra X2/X1
#
# This program could capture and display video from
# IP CAM, USB webcam, or the Tegra onboard camera.
# Refer to the following blog post for how to set up
# and run the code:
# https://jkjung-avt.github.io/tx2-camera-with-python/
#
# Written by JK Jung <jkjung13@gmail.com>