Kategori: Linux

Install Tensorflow on Ubuntu 14.04

TensorFlow™ is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. TensorFlow was originally developed by researchers and engineers working on the Google Brain Team within Google’s Machine Intelligence research organization for the purposes of conducting machine learning and deep neural networks research, but the system is general enough to be applicable in a wide variety of other domains as well.  (https://www.tensorflow.org/)

Just type on terminal :

#pip install tensorflow       # python 2.7 ; CPU support (no GPU support)
#pip3 install tensorflow      # python 3.n ; CPU support (no GPU support)
#pip install tensorflow-gpu   # python 2.7 ;   GPU support
#pip3 install tensorflow-gpu  # python 3.n ;   GPU support

Here we have tried to install it on my laptop. It’s very easy .







How to Copy file via pscp

For some project  we have to access remote server. Even, we have to upload file to the directory  in the server.  If you want to copy file using pscp, here the general template :

PuTTY Secure Copy client
Release 0.53
Usage: pscp [options] [user@]host:source target
       pscp [options] source [source...] [user@]host:target
       pscp [options] -ls user@host:filespec
  -p        preserve file attributes
  -q        quiet, don't show statistics
  -r        copy directories recursively
  -v        show verbose messages
  -load sessname  Load settings from saved session
  -P port   connect to specified port
  -l user   connect with specified username
  -pw passw login with specified password
  -1 -2     force use of particular SSH protocol version
  -C        enable compression
  -i key    private key file for authentication
  -batch    disable all interactive prompts
  -unsafe   allow server-side wildcards (DANGEROUS)

(PSCP’s interface is much like the Unix scp command, if you’re familiar with that.)

For example :

toto@toto-laptop#pscp -i private_key.ppk source.ext myremoteaccount@server.com:/directory/


How to copy file from local to remote server

To copy file from local to remote server 

scp \local_directory\file.ext remote_user@domain:/destination/

© 2020

Theme by Anders NorenUp ↑