Skip to content

Instantly share code, notes, and snippets.

View supriya-gdptl's full-sized avatar
🐢

Supriya Gadi Patil supriya-gdptl

🐢
View GitHub Profile
@supriya-gdptl
supriya-gdptl / LatexCodeInHTMLPage.md
Last active February 15, 2018 11:53
Adding latex code in HTML website

To add Latex code in HTML website, there are two ways,

  1. Simple way to add Latex code is using HTML image tag(for more info visit codecogs):

<img src="http://latex.codecogs.com/gif.latex?1+sin(x)" border="0"/>

  1. Using MathJax CDN:
@supriya-gdptl
supriya-gdptl / Attention_In_CV_n_NLP.md
Last active June 30, 2019 19:21
Using Attention Module in CNN and RNN(LSTM)
@supriya-gdptl
supriya-gdptl / syntheticGraphs.py
Last active December 12, 2017 13:13
Generating synthetic graph with communities
# To generate synthetic graphs with communitites and finding these communitites uing Girvan-Newman algorithm
'''
installation steps:
1) pip install networkx
2) pip install python-louvain
3) pip install community
'''
import networkx as nx
import matplotlib.pyplot as plt
%matplotlib inline
@supriya-gdptl
supriya-gdptl / UninstallTensorFlow.txt
Created December 5, 2017 14:07
Steps to uninstall tensorflow
pip show tensorflow
pip uninstall tensorflow
# Tensorflow 1.4 works only with Python 3.5
# to install downgrade Python 3.6 to Python 3.5 in Anaconda
conda install python=3.5
# now install tensorflow 1.4
sudo apt-get install python3-pip python3-dev
pip install tensorflow