Skip to content

Instantly share code, notes, and snippets.

View glenpierce's full-sized avatar

Glen Pierce glenpierce

  • Victoria, BC
View GitHub Profile
@glenpierce
glenpierce / Tensorflow.txt
Created September 7, 2018 02:17 — forked from copperwiring/Tensorflow.txt
Detection using Tensorflow
!git clone https://github.com/tensorflow/models.git
!apt-get -qq install libprotobuf-java protobuf-compiler
!protoc ./models/research/object_detection/protos/string_int_label_map.proto --python_out=.
!cp -R models/research/object_detection/ object_detection/
!rm -rf models
--------------------------------------------------------------------------------------------------------------------------
import numpy as np
import os
import six.moves.urllib as urllib
// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class