Skip to content

Instantly share code, notes, and snippets.

View sezan92's full-sized avatar
💭
Being normal is too mainstream!

Md. Muhaimin Rahman sezan92

💭
Being normal is too mainstream!
View GitHub Profile
Person
Car
Bicycle
Bus
Motorbike
Train
Aeroplane
Chair
Bottle
Dining Table
@sezan92
sezan92 / Remove_notebook_checkpoints.sh
Created January 14, 2021 10:45 — forked from ArnoutDevos/Remove_notebook_checkpoints.sh
command to remove automatically created .ipynb_checkpoints folders and their checkpoints
rm -rf `find -type d -name .ipynb_checkpoints`
@sezan92
sezan92 / mpc.py
Created January 6, 2021 12:02 — forked from farhanhubble/mpc.py
Python code for connecting to Udacity Self-Driving Cars Simulator (Tested with term 2 project 5 on model predictive control).
import json
import asyncio
import websockets
def _check_mode(msg):
return "Auto" if msg and msg[:2] == '42' else "Manual"
def _parse_telemetry(msg):
msg_json = msg[2:]
parsed = json.loads(msg_json)
@sezan92
sezan92 / gist:e488acf165b740d0e492f9254772a605
Created December 3, 2020 06:10
Solves tensorflow 1.14 gpus CUDNN HANDLE ERROR
"""
I was having a problem of CUDNN HANDLE ERROR IN CONVOLUTIONAL NEURAL NETWORK USING TENSORFLOW 1.14 GPU
MY ENVIRONMENT, Corei7, Ubuntu 18.04, RTX 2070 Super
The following is a test code . The solution is under ###SOLUTION comment.
"""
from tensorflow.examples.tutorials.mnist import input_data
import tensorflow as tf
### SOLUTION STARTS
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.