This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from airflow import DAG | |
from airflow.operators.bash import BashOperator | |
from airflow.operators.python import PythonOperator | |
from airflow.operators.subdag import SubDagOperator | |
from airflow.utils.task_group import TaskGroup | |
from random import uniform | |
from datetime import datetime | |
default_args = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from airflow import DAG | |
from airflow.operators.bash import BashOperator | |
from airflow.operators.python import PythonOperator | |
from airflow.operators.subdag import SubDagOperator | |
from airflow.utils.task_group import TaskGroup | |
from random import uniform | |
from datetime import datetime | |
default_args = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Usage: | |
# From tensorflow/models/ | |
# Create train data: | |
python generate_tfrecord.py --csv_input=images/train_labels.csv --image_dir=images/train --output_path=train.record | |
# Create test data: | |
python generate_tfrecord.py --csv_input=images/test_labels.csv --image_dir=images/test --output_path=test.record | |
""" | |
from __future__ import division |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Usage: | |
# From tensorflow/models/ | |
# Create train data: | |
python generate_tfrecord.py --csv_input=images/train_labels.csv --image_dir=images/train --output_path=train.record | |
# Create test data: | |
python generate_tfrecord.py --csv_input=images/test_labels.csv --image_dir=images/test --output_path=test.record | |
""" | |
from __future__ import division |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import os | |
import sys | |
from threading import Thread | |
from argparse import ArgumentParser | |
import io | |
from flask import Flask, render_template, Response | |
from flask import send_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
faster_rcnn_inception_resnet_v2_atrous_coco.config | http://download.tensorflow.org/models/object_detection/faster_rcnn_inception_resnet_v2_atrous_coco_2018_01_28.tar.gz | |
---|---|---|
faster_rcnn_inception_resnet_v2_atrous_coco.config | http://download.tensorflow.org/models/object_detection/faster_rcnn_inception_resnet_v2_atrous_lowproposals_coco_2018_01_28.tar.gz | |
faster_rcnn_inception_resnet_v2_atrous_cosine_lr_coco.config | http://download.tensorflow.org/models/object_detection/faster_rcnn_inception_resnet_v2_atrous_coco_2018_01_28.tar.gz | |
faster_rcnn_inception_resnet_v2_atrous_cosine_lr_coco.config | http://download.tensorflow.org/models/object_detection/faster_rcnn_inception_resnet_v2_atrous_lowproposals_coco_2018_01_28.tar.gz | |
faster_rcnn_inception_resnet_v2_atrous_oid_v4.config | http://download.tensorflow.org/models/object_detection/faster_rcnn_inception_resnet_v2_atrous_coco_2018_01_28.tar.gz | |
faster_rcnn_inception_resnet_v2_atrous_oid_v4.config | http://download.tensorflow.org/models/object_detection/faster_rcnn_inception_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os, sys | |
import shutil | |
from argparse import ArgumentParser | |
from random import randrange | |
from PIL import Image | |
import glob | |
import re | |
import xml.etree.ElementTree as ET | |
import pandas as pd | |
import tensorflow as tf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from argparse import ArgumentParser | |
__author__ = "" | |
__date__ = "" | |
__version__ = "" | |
__description__ = "" | |
if __name__ == '__main__': | |
argParser = ArgumentParser(description=__description__, | |
epilog='Developed by ' + __author__ + ' in ' + __date__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global _ */ | |
/* | |
* Complex scripted dashboard | |
* This script generates a dashboard object that Grafana can load. It also takes a number of user | |
* supplied URL parameters (in the ARGS variable) | |
* | |
* Return a dashboard object, or a function | |
* | |
* For async scripts, return a function, this function must take a single callback function as argument, |
NewerOlder