Skip to content

Instantly share code, notes, and snippets.

View sourangshupal's full-sized avatar
🎯
Focusing

Sourangshu Pal sourangshupal

🎯
Focusing
  • Bengaluru,India
View GitHub Profile
@sourangshupal
sourangshupal / detection_thread.py
Created June 5, 2020 07:52 — forked from mikaelhg/detection_thread.py
Minimal Tensorflow object detection example
import warnings
with warnings.catch_warnings():
warnings.filterwarnings('ignore', category=FutureWarning)
import h5py
import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '1'
import tensorflow as tf
# It is highly recommended to use Pandas for such data processing problems
import pandas as pd
import numpy as np
dataset = {'feature1': np.random.rand(5000),
'feature2': np.random.rand(5000),
'feature3': np.random.rand(5000)
}