Skip to content

Instantly share code, notes, and snippets.

View fanbyprinciple's full-sized avatar
🙀
Out on an adventure !

Ashwin Jayaprakash fanbyprinciple

🙀
Out on an adventure !
View GitHub Profile
@fanbyprinciple
fanbyprinciple / undo_git.md
Last active January 18, 2023 05:15
How to undo a commit on github

Reset it to previous commit -

git reset --hard HEAD^

Force a push -

git push --force

@offchan42
offchan42 / install-tensorflow-gpu-windows.md
Last active August 3, 2021 18:45
How to install TensorFlow GPU on Windows without installing CUDA Toolkit manually and ensure training speedup

Installation

Follow this guide to install TensorFlow GPU on Windows (without the need to manually install CUDA Toolkit): https://www.pugetsystems.com/labs/hpc/How-to-Install-TensorFlow-with-GPU-Support-on-Windows-10-Without-Installing-CUDA-UPDATED-1419 CUDA will be installed for you automatically using Anaconda.

Or just follow the Fast Instructions I wrote below.

If you want to install CUDA toolkit on your own, or if you want to install the latest tensorflow version, then you need to follow official installation guide.

Fast Instructions

List of ImageNet class numbers and names as used in Keras' pre-trained models.
Extracted from https://s3.amazonaws.com/deep-learning-models/image-models/imagenet_class_index.json
0, tench
1, goldfish
2, great_white_shark
3, tiger_shark
4, hammerhead
5, electric_ray