In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| using System.Threading; | |
| using UnityEngine; | |
| public class TCPTestClient : MonoBehaviour { | |
| #region private members | 
Go to home directory
cd ~
We can change Anaconda version we want from Anaconda installer archive
wget https://repo.anaconda.com/archive/Anaconda3-5.1.0-Linux-x86_64.sh
Verifying data Integrity, replace /path/filename with the actual path
#For Windows users# Note: <> denotes changes to be made
#Create a conda environment
conda create --name python=version:2.7/3.5
#To create a requirements.txt file:
conda list #Gives you list of packages used for the environment
conda list -e > requirements.txt #Save all the info about packages to your folder
| # For Windows users# Note: <> denotes changes to be made | |
| #Create a conda environment | |
| conda create --name <environment-name> python=<version:2.7/3.5> | |
| #To create a requirements.txt file: | |
| conda list #Gives you list of packages used for the environment | |
| conda list -e > requirements.txt #Save all the info about packages to your folder | 
People
:bowtie: | 
😄 :smile: | 
😆 :laughing: | 
|---|---|---|
😊 :blush: | 
😃 :smiley: | 
:relaxed: | 
😏 :smirk: | 
😍 :heart_eyes: | 
😘 :kissing_heart: | 
😚 :kissing_closed_eyes: | 
😳 :flushed: | 
😌 :relieved: | 
😆 :satisfied: | 
😁 :grin: | 
😉 :wink: | 
😜 :stuck_out_tongue_winking_eye: | 
😝 :stuck_out_tongue_closed_eyes: | 
😀 :grinning: | 
😗 :kissing: | 
😙 :kissing_smiling_eyes: | 
😛 :stuck_out_tongue: | 
To Update conda conda update -n base conda
To get kernel support install nb_conda in base env conda install nb_conda
Based on SO link to get kernel option inside notebooks, install jupyter in new env conda install ipykernel
Then install jupyter extensions conda install -c conda-forge jupyter_contrib_nbextensions, install doc, list doc
To get a custom cell formats, like full width ones, 3 methods are available.
| """Information Retrieval metrics | |
| Useful Resources: | |
| http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt | |
| http://www.nii.ac.jp/TechReports/05-014E.pdf | |
| http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf | |
| http://hal.archives-ouvertes.fr/docs/00/72/67/60/PDF/07-busa-fekete.pdf | |
| Learning to Rank for Information Retrieval (Tie-Yan Liu) | |
| """ | |
| import numpy as np | 
For Err:
fatal: unable to access 'https://github.com/RaymondDixon/ml-agents.git/': Could not resolve proxy: proxy.domain.com
it means proxy is wrong.
In windows-Behind Firewall to setup proxy, Open GitBash type git config --list --show-origin to see where .gitconfig file is (usually in Users/username/.gitconfig)
type cd to be in then press enter
type vim .gitconfig then press enter