Skip to content

Instantly share code, notes, and snippets.

View Jimut123's full-sized avatar

Jimut Bahan Pal Jimut123

View GitHub Profile
# To fetch the upstream from an outdated fork or to update a fork
# https://garygregory.wordpress.com/2016/11/10/how-to-catch-up-my-git-fork-to-master/
$ git fetch upstream
$ git remote add upstream https://github.com/pytorch/tutorials or <the url of the upstream>
$ git remote -v # check if the things are okay or not
$ git checkout master
$ git merge upstream/master
# To create a PR
@Jimut123
Jimut123 / binary_search_tree.cpp
Created September 21, 2019 08:13
Binary Search Tree in C++
#include<iostream>
using namespace std;
template<typename T>
class BinarySearchTree
{
private:
struct tree_node
{
tree_node* left;
tree_node* right;
import keras
from keras.models import load_model
from keras.models import Sequential
from keras.layers import Dense, Dropout, Activation, Flatten
from keras.layers import Conv2D, MaxPooling2D
from sklearn.model_selection import train_test_split
import numpy as np
from sklearn import preprocessing
import cv2
import cv2
import pyscreenshot as ImageGrab
import keyboard
import os
import time
import numpy as np
with open('actions.csv', 'w') as csv:
from keras.models import load_model
import numpy as np
import cv2
import time
import pyscreenshot as ImageGrab
import pyautogui
#loading the model
model = load_model('Pong_Thu May 2 08_33_34 2019.h5')