Skip to content

Instantly share code, notes, and snippets.

View bicepjai's full-sized avatar

Jayaram Prabhu Durairaj bicepjai

View GitHub Profile
@bicepjai
bicepjai / ubuntu_16_04_initial_setup_script.sh
Created October 12, 2017 04:07
after ubuntu 16.04 installation, software tools installations
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt-get install gdebi-core
sudo add-apt-repository ppa:openrazer/stable
sudo add-apt-repository ppa:lah7/polychromatic
sudo apt update
@bicepjai
bicepjai / dc_gan_training.py
Created November 15, 2017 18:07
checking on dc gan implementation and training
def train_dcgan(generator_func, discriminator_func, data_in, model_weights_name_prefix, load_model=False,
epochs=10, batch_size=32, lr_opt=1e-3, lr_d_opt=1e-4, plot_epoch=None):
# get image shape
image_shape = data_in[0,:,:,:].shape
print("image shape:",image_shape)
K.clear_session()
# use generator and discriminator functions and make gan model
@bicepjai
bicepjai / reddit_comments_2_es.py
Created January 26, 2018 01:53
script to injest reddit comments data to elastic search for better searching. edited field is ignored when ingesting
import sys
import os
import re
import gc
import traceback
import tqdm
import mmap
import datetime as dt
@bicepjai
bicepjai / jupyter-julia.jl.ipynb
Last active September 20, 2022 00:00
jupyterlab julis issue discussed in julia discourse
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.