Skip to content

Instantly share code, notes, and snippets.

View un-knight's full-sized avatar
🎯
Focusing

Junxian Ye un-knight

🎯
Focusing
  • shenzhen,China
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@SNagappan
SNagappan / README.md
Last active June 28, 2017 22:00
Video C3D

##Model

This is an implementation of C3D trained on the UCF101 dataset.

Model script

The model training script train.py will train an action recogition model from scratch on the UCF101 dataset.

Dependencies

The preprocessor and data loader require OpenCV which can be installed with apt-get.

@miguelgrinberg
miguelgrinberg / rest-server.py
Last active March 29, 2024 09:05
The code from my article on building RESTful web services with Python and the Flask microframework. See the article here: http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask
#!flask/bin/python
from flask import Flask, jsonify, abort, request, make_response, url_for
from flask_httpauth import HTTPBasicAuth
app = Flask(__name__, static_url_path = "")
auth = HTTPBasicAuth()
@auth.get_password
def get_password(username):
if username == 'miguel':