Machine Learning Frameworks

Machine Learning Frameworks

TensorFlow is a machine learning system that operates at large scale and in heterogeneous environments.


Caffe provides multimedia scientists and practitioners with a clean and modifiable framework for state-of-the-art deep learning algorithms and a collection of reference models.


Chainer: A Next-Generation Open Source Framework for Deep Learning


The Microsoft Cognitive Toolkit (CNTK) – (for 64 bits windows or 64bit linux)


Keras:  A high-level neural networks API, written in Python and capable of running on top of TensorFlow, CNTK or Theano.


iPhone – iOS 12

GrayShift – USA Atlanta-based Startup.

GrayKey – Hardware(gadget)/Tools with Software Services of GrayShift to unlock (passcode) iPhones.

After the connection of iphone, the GrayKey install one sw to disable the Security Enclave and hacking the passcode using brute force.

Tips: For your own security, use very long passcode or use/upgrade to iOS 12.

30s used to find one passcode with 6 digits.


iPhone with iOS 12, no longer break the passcodes of any iPhone running iOS 12 or above.

on iOS 12, GrayKey can do:

draw out unencrypted files, such like file sizes and folder structures.

Other Tips for iPhone Protection
Erase iPhone after 10 failed attempts

To set iPhone to erase all data after 10 failed passcode attempts.

Go to Settings > Touch ID & Passcode, scroll down to the bottom and enable the option “Erase Data”.

Upgrade Red Hat Enterprise Linux 6 to Red Hat Enterprise Linux 7

Upgrade from redhat entreprise linux 6 (last version of 6) to 7

Preupgrade Assistant (Red Hat Upgrade Tool )

All packages must be up to date
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.9 (Santiago)
# arch
# yum upgrade -y

(receive updates from Subscription Management)

Quick guideline:

Prepare your system to upgrade

  • backup all data;
  • Test first;
  • Convert to subscription management
    • Redhat 7 must be registered with the Subscription Management tool (subscription-manager)

Important note:

The upgrade process supports only the following package groups:

  • Minimal
  • Base
  • Web Server
  • DHCP Server
  • NFS File Server (@nfs-server)
  • Print Server
  • CIFS file server

Using the command (yum grouplist) for checking.

Remove other package groups before upgrading and reinstall them when your upgrade is complete.

Update all packages by the command

iwsSrvC6> yum update -y
iwsSrvC6> reboot

Check system upgrade suitability by preupgrade tools

iwsSrvC6> subscription-manager repos --enable rhel-6-server-extras-rpms
iwsSrvC6> yum -y install preupgrade-assistant preupgrade-assistant-el6toel7
iwsSrvC6> preupg -v
(use webUI for the system is headless/not graphical user environment)
iwsSrvC6> preupg -v -u http://<your_hostname>:<your_port>/submit

Tips: see the page /root/preupgrade/result.html

Requirement for preupgrade assistant WebUI

iwsSrvC6> yum -y install httpd preupgrade-assistant-ui
iwsSrvC6> cd /etc/httpd/conf.d
iwsSrvC6> cp 99-preup-httpd.conf.public 99-preup-httpd.conf
(using the port 8099 by default)

Configure your hostname (variable - NameVirtual Host ) on the file (/etc/httpd/conf.d/99-preup-httpd.conf)

prepare your selinux and firewall

iwsSrvC6> setenforce 0
iwsSrvC6> iptables -I INPUT -m state --state NEW -p tcp --dport 8099 -j ACCEPT
iwsSrvC6> service httpd restart

note: you must create a new administrative user or disable authentication.

check the result and correct all your issues detected by the tool.

Upgrade your system

iwsSrvC6> yum -y install redhat-upgrade-tool
iwsSrvC6> yum -y install yum-utils
iwsSrvC6> yum-config-manager --disable \*
iwsSrvC6> redhat-upgrade-tool --network <latest_RHEL_7> --instrepo repo_location
iwsSrvC6> redhat-upgrade-tool --device device_path
iwsSrvC6> redhat-upgrade-tool --iso iso_path
iwsSrvC6> redhat-upgrade-tool --addrepo optional=http://host name/path/to/repo
iwsSrvC6> redhat-upgrade-tool --cleanup-post
When prompted, reboot your system. 
note: upgrade will take serveral minutes/hours

check the system status
iwsSrvC6> cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.5
iwsSrvC6> yum repolist
Loaded plug-ins: product-id, subscription-manager
repo id        repo name                                    status
rhel-7-rpms    Red Hat Enterprise Linux 7 Server (RPMs)     4,323

force update (repositories)
iwsSrvC6> subscription-manager remove --all
iwsSrvC6> subscription-manager unregister
iwsSrvC6> subscription-manager register
iwsSrvC6> subscription-manager attach --pool=poolID
iwsSrvC6> subscription-manager repos --enable=repoID
update all packages

iwsSrvC6>  yum upgrade -y
iwsSrvC6>  reboot