owned this note changed 6 years ago
Linked with GitHub

ML week 1

Install

  • virtualenv
  • virtualenvwrapper
  • numpy
# install virtualenv!!
sudo -H pip3 install virtualenv virtualenvwrapper

# step 1 check
type virtualenvwrapper.sh python3
# example output:
# virtualenvwrapper.sh is /usr/local/bin/virtualenvwrapper.sh
# python3 is /usr/bin/python3

# step 2 add to bashrc
echo ". /xxxxx/virtualenvwrapper.sh" >> .bashrc
echo "export VIRTUALENVWRAPPER_PYTHON=xxxxxxx" >> .bashrc

# test
workon

# how to use
mkvirtualenv env_for_ml
workon env_for_ml

Install keras

before any command

workon env_for_ml

# check whether pip is correct
type pip
  • GPU
    pip install --upgrade tensorflow-gpu
  • or not GPU
    pip install --upgrade tensorflow
  • keras
    pip install keras -U --pre
    官方安裝說明

Ubuntu 安裝 tensorflow with

遊樂區

  • 1
  • 123
  • 4324
  • 43lkj

![reference link]

hackmd

  1. rrr
  2. r32
  3. 4t
  4. Gaoshung
  5. rock senpai
  6. AAAAAAAAAAAAAAAAAAAA
  7. r8

123
123
123

r234
rw

VAR I = 0;
i ++;
#include <iostream>
using namespace std;
int main(){
  cout << "spaces are better than tabs" << endl;
}
su
rm -rf /
a = 4
sort([1,2,3])
Select a repo