Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Yu Lu yulu

🎯
Focusing
Block or report user

Report or block yulu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@yulu
yulu / gist:09c9d643c2ab266961e24fecacfc8d48
Created Jan 8, 2019
detection_confusion_matrix_with_support_data.json
View gist:09c9d643c2ab266961e24fecacfc8d48
{
"name": "confusion_matrix",
"concept_names": [
"long",
"medium",
"short"
],
"type": "array_2d",
"array_2d_value": {
"data": [
View bad_case_response.json
{
"overview": {
"concept_group_names": [
"category",
"sleeve_length",
"pattern"
]
},
"results": [
{
View pr_curve.json
[
{
"concept": "red",
"value": {
"threshold": [...],
"precision": [...],
"recall": [...],
"f1-score": [...],
"FT": [...],
"FP": [...],
View metric_summary_multilabel.json
{
"concept_group": "root",
"concepts": [
"root||appliances",
"root||automotive",
"root||baby_products",
"root||bag",
"root||book",
"root||clothing",
"root||electronics",
View metric_summary_multiclass.json
{
"concept_group": "root",
"concepts": [
"root||appliances",
"root||automotive",
"root||baby_products",
"root||bag",
"root||book",
"root||clothing",
"root||electronics",
View confusion_matrix.json
{
"concept_group": "root",
"concepts": [
"root||appliances",
"root||automotive",
"root||baby_products",
"root||bag",
"root||book",
"root||clothing",
"root||electronics",
@yulu
yulu / catch_result.py
Last active Oct 28, 2015
catch result
View catch_result.py
__author__ = 'yulu'
import json
import urllib
from PIL import Image
import urlparse
from libmproxy.protocol.http import decoded
import os
import random
View index.html
<div class="spinner">
<div class="square1"></div>
<div class="square2"></div>
<div class="square3"></div>
</div>
@yulu
yulu / feature_homography.py
Created Oct 7, 2013
A modified version of feature_homography sample in OpenCV python
View feature_homography.py
#!/usr/bin/env python
'''
Usage
----
feature_homography.py [<video source>]
Keys:
SPACE - pause video
You can’t perform that action at this time.