Skip to content

Instantly share code, notes, and snippets.

View chaitanyahebbal's full-sized avatar

Chaitanya Hebbal chaitanyahebbal

View GitHub Profile
@WenchaoDing
WenchaoDing / Carla ros helper
Last active December 21, 2018 15:03
Carla ros
#!/usr/bin/env python
from __future__ import print_function
#import ros packages
import roslib; roslib.load_manifest('carlaros_client')
import rospy
from sensor_msgs.msg import Joy
#self define ros msgs
from carla_msgs.msg import CarOdom
@girisandeep
girisandeep / apache_log_topnlinks.scala
Last active January 7, 2021 07:37
A example program to find top N IP Addresses from Apache Logs using Spark. This is part of CloudxLab.com.
@fsausset
fsausset / keras2android.py
Created March 31, 2017 14:43
Export a Keras model to a tensorflow .pb file with embedded weights to use on Android.
from keras.models import Sequential
from keras.models import model_from_json
from keras import backend as K
import tensorflow as tf
from tensorflow.python.tools import freeze_graph
import os
# Load existing model.
with open("model.json",'r') as f:
modelJSON = f.read()