Skip to content

Instantly share code, notes, and snippets.

@denguir
denguir / cuda_install.md
Last active September 24, 2024 08:17
Installation procedure for CUDA & cuDNN

How to install CUDA & cuDNN on Ubuntu 22.04

Install NVIDIA drivers

Update & upgrade

sudo apt update && sudo apt upgrade

Remove previous NVIDIA installation

@danielef
danielef / nvidia-drivers-reinstall.md
Last active September 11, 2024 11:27
nvidia drivers reinstall for Ubuntu 20.04

nvidia drivers reinstall for Ubuntu 20.04

  1. Login as root
sudo -s
  1. Purge all nvidia packages:
apt-get purge *nvidia*
apt autoremove
@flyyufelix
flyyufelix / readme.md
Last active November 16, 2021 00:09
Resnet-101 pre-trained model in Keras

ResNet-101 in Keras

This is an Keras implementation of ResNet-101 with ImageNet pre-trained weights. I converted the weights from Caffe provided by the authors of the paper. The implementation supports both Theano and TensorFlow backends. Just in case you are curious about how the conversion is done, you can visit my blog post for more details.

ResNet Paper:

Deep Residual Learning for Image Recognition.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun
arXiv:1512.03385
@flyyufelix
flyyufelix / readme.md
Last active August 5, 2022 15:20
Resnet-152 pre-trained model in Keras

ResNet-152 in Keras

This is an Keras implementation of ResNet-152 with ImageNet pre-trained weights. I converted the weights from Caffe provided by the authors of the paper. The implementation supports both Theano and TensorFlow backends. Just in case you are curious about how the conversion is done, you can visit my blog post for more details.

ResNet Paper:

Deep Residual Learning for Image Recognition.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun
arXiv:1512.03385
@mdonkers
mdonkers / server.py
Last active September 14, 2024 18:11
Simple Python 3 HTTP server for logging all GET and POST requests
#!/usr/bin/env python3
"""
License: MIT License
Copyright (c) 2023 Miel Donkers
Very simple HTTP server in python for logging requests
Usage::
./server.py [<port>]
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
@hans
hans / cudnn_softmax.cu
Last active August 2, 2021 00:23
Example of CuDNN softmax usage
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <cudnn.h>
/**
* Verified correctness with cuDNN 6.5-R1.
*
* Author: Jon Gauthier <jon@gauthiers.net>