Skip to content

Instantly share code, notes, and snippets.

View cmendesce's full-sized avatar

Carlos Mendes cmendesce

View GitHub Profile
@cmendesce
cmendesce / tensorflow-object-detection-benchmark.py
Created February 16, 2020 22:40 — forked from junjuew/tensorflow-object-detection-benchmark.py
tensorflow object detection inference speed benchmark
import os
import tarfile
import time
import numpy as np
import six.moves.urllib as urllib
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.INFO)
@cmendesce
cmendesce / ExampleGroovySparql.groovy
Created November 23, 2016 13:07 — forked from AlBaker/ExampleGroovySparql.groovy
Groovy SPARQL Example
@Grab('com.hp.hpl.jena:jena:2.6.4')
@Grab('com.hp.hpl.jena:arq:2.8.8')
import groovy.sparql.Sparql
// Can also take a Jena model as an argument
def sparql = new Sparql("http://dbpedia.org/sparql")
def query = """
SELECT ?abstract