Skip to content

Instantly share code, notes, and snippets.

View saravananpsg's full-sized avatar

Saravanan Rajamanickam saravananpsg

  • A*Star
  • Singapore
View GitHub Profile
# coding: utf-8
import nltk
from nltk.tag.stanford import StanfordNERTagger
# Optional
import os
java_path = "/usr/lib/jvm/java-8-oracle"
os.environ['JAVA_HOME'] = java_path
@saravananpsg
saravananpsg / cuda_11.3_installation_on_Ubuntu_20.04
Created June 30, 2022 09:01 — forked from Mahedi-61/cuda_11.8_installation_on_Ubuntu_22.04
Instructions for CUDA v11.3 and cuDNN 8.2 installation on Ubuntu 20.04 for PyTorch 1.11
#!/bin/bash
### steps ####
# verify the system has a cuda-capable gpu
# download and install the nvidia cuda toolkit and cudnn
# setup environmental variables
# verify the installation
###
### to verify your gpu is cuda enable check