Skip to content

Instantly share code, notes, and snippets.

View bsridatta's full-sized avatar
🎯
Focusing

Sri Datta Budaraju bsridatta

🎯
Focusing
View GitHub Profile
@bsridatta
bsridatta / dataset_Iterator.py
Created May 28, 2019 16:25
Creating TFRecords Dataset
import tensorflow as tf
SHUFFLE_BUFFER = 1000
BATCH_SIZE = 32
NUM_CLASSES = 12
# Create a description of the features.
feature_description = {
'feature0': tf.FixedLenFeature([32768], tf.float32),
@bsridatta
bsridatta / PCD_conversion_script.py
Last active May 22, 2024 15:51
Script to convert multiple PCD files into other formats using PCL
"""
Script to convert multiple PCD files into other formats using PCL
"""
import os
import subprocess
__author__ = "Sri Datta Budaraju"
# Make sure you have PCL installed
@bsridatta
bsridatta / calculator.xml
Created August 31, 2017 11:04
xml code simple calculator
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
@bsridatta
bsridatta / calculator.xml
Last active August 31, 2017 08:37
XML Code Calculator
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">