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 numpy as np | |
import bson | |
import tensorflow as tf | |
from StringIO import StringIO | |
import skimage | |
from skimage import io | |
# Load bson data and dump to TFRecord File | |
def _int64_feature(value): |