Skip to content

Instantly share code, notes, and snippets.

View husmen's full-sized avatar

Houssem MENHOUR husmen

View GitHub Profile
@rem *** Disable Some Service ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
sc config DiagTrack start= disabled
sc config diagnosticshub.standardcollector.service start= disabled
sc config dmwappushservice start= disabled
@husmen
husmen / nv_dl_fp16_adam.md
Last active December 13, 2018 09:04
NVIDIA End-to-End Deep Learning for Self-Driving Cars

Importing Keras

from keras.models import Sequential
from keras.layers import Dense, Dropout, Flatten, Lambda
from keras.layers import Conv2D, MaxPooling2D, Cropping2D
from keras.callbacks import ModelCheckpoint
from keras.optimizers import SGD
from keras import backend as K

Configure Session

@husmen
husmen / video-metada-finder.py
Last active July 26, 2018 11:02 — forked from oldo/video-metada-finder.py
A python function utilising `ffprobe` to find any metadata related to a video file. Examples of what it can find include bitrate, fps, codec details, duration and many more. This gist returns the video height and width as an example.
#!/usr/local/bin/python3
import subprocess
import shlex
import json
import datetime
# function to find the resolution of the input video file
def findVideoMetada(pathToInputVideo):
cmd = "ffprobe -v quiet -print_format json -show_streams"
@husmen
husmen / GitHub.md
Last active June 25, 2018 07:19
GitHub getting started
@husmen
husmen / CarND-Behavioral-Cloning-P3.md
Last active June 29, 2018 11:52
Getting started with CarND-Behavioral-Cloning-P3 [Turkish]

FourPlusOne'ın son çalışmada yardım isteyenlere bu kaynağı tavsiye ediyorum. kodu çalıştırmak için:

1- bir conda environment kurmanız lazım

Udacity tarafindan verildiği environment.yml indirip ve bu değişikleri yapın: keras versionu için 1.2.1 yerinde 2.0.6 yazın "- pip:" önce bu iki satırları ekleyin

- pydot=1.2.4=py35_0
  • graphviz=2.38.0=6