Skip to content

Instantly share code, notes, and snippets.

View rpn_simple.py
import keras.backend
import keras.engine
import keras.layers
import numpy
import numpy as np
import tensorflow
import keras_resnet.models
import keras_resnet.blocks
import keras_rcnn.backend
import keras_rcnn.classifiers
View anchor_target_sample.py
import keras.backend
import keras.engine
import keras.layers
import numpy
import tensorflow
import keras_resnet.models
import keras_resnet.blocks
import keras_rcnn.backend
import keras_rcnn.classifiers
import keras_rcnn.layers
View rpn_test.py
import keras.backend
import keras.engine
import keras.layers
import numpy
import tensorflow
import keras_resnet.models
import keras_resnet.blocks
import keras_rcnn.backend
import keras_rcnn.classifiers
import keras_rcnn.layers
View unpossibly.py
import requests
from requests.auth import HTTPBasicAuth
import json
import time
username = 'xxxxxxx'
api_token = 'xxxxxxx'
mean_likes = {
'kissinfashion': 23845,
View deepdetect_uri.py
import requests
import json
import base64
import cv2
import pdb
imgs = []
img1 = cv2.imread('cat.jpg')
img2 = cv2.imread('dog.jpg')