Skip to content

Instantly share code, notes, and snippets.

View Phelan164's full-sized avatar

phelan Phelan164

  • Instill AI
  • hanoi
View GitHub Profile
@Phelan164
Phelan164 / cloneall.sh
Created September 1, 2021 12:11 — forked from potter0815/cloneall.sh
clone all private repos of an organization
#!/bin/bash
#requires jq -> http://stedolan.github.io/jq/
#optional change working_dir
working_dir=${1-$(pwd)}
cd $working_dir
user="github_username"
token="application token"
organization="Organization_Name"
@Phelan164
Phelan164 / tf_hub_example.py
Last active February 27, 2021 14:18
object detection tensorflow hub example
# For running inference on the TF-Hub module.
import tensorflow as tf
import tensorflow_hub as hub
# For downloading the image.
import tempfile
from six.moves.urllib.request import urlopen
from six import BytesIO