Skip to content

Instantly share code, notes, and snippets.

👨‍💻
Always Be Coding :-)

tarry.singh TarrySingh

View GitHub Profile
View Data Types Tuts.py
def say(say_please=False):
msg = 'Can you buy me a beer?'
return msg, say_please
print(say())
print(say(say_please=True))
if name == 'Tarry':
print('Hello Tarry!')
if password == 'swordfish':
print
View Face2Face_freeze_model.py
import os, argparse
import tensorflow as tf
from tensorflow.python.framework import graph_util
dir = os.path.dirname(os.path.realpath(__file__))
def freeze_graph(model_folder):
# We retrieve our checkpoint fullpath
checkpoint = tf.train.get_checkpoint_state(model_folder)
View Autonomous Driving - Trucks_directkeys.py
import ctypes
import time
SendInput = ctypes.windll.user32.SendInput
W = 0x11
A = 0x1E
S = 0x1F
D = 0x20
View Object-Detector-App_.gitignore
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
You can’t perform that action at this time.