First of all you have to start your xamp server
pip install mysql-connector-python
| getUser(1, user => { | |
| console.log('user', user) | |
| getRepo(user.githubUserName, (repo) => { | |
| console.log('Repos', repo) | |
| }) | |
| }) | |
| function getUser(id, callback) { | |
| setTimeout(()=>{ |
| """ | |
| Usage: | |
| # From tensorflow/models/ | |
| # Create train data: | |
| python generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=train.record | |
| # Create test data: | |
| python generate_tfrecord.py --csv_input=data/test_labels.csv --output_path=test.record | |
| """ | |
| from __future__ import division |
| """ | |
| Usage: | |
| # From tensorflow/models/ | |
| # Create train data: | |
| python generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=train.record | |
| # Create test data: | |
| python generate_tfrecord.py --csv_input=data/test_labels.csv --output_path=test.record | |
| """ | |
| from __future__ import division |
| from django.contrib import admin | |
| from .models import UserProfile | |
| # Register your models here. | |
| admin.site.register(UserProfile) |