How to Build an Artificial Intelligent System (I)

Phase 1: Problem assessment – Determine the problem’s characteristics.

What is an intelligent system?

The process of building Intelligent knowledge-based system has been called knowledge engineering since the 80s. It usually contains six phases: 1. Problem assessment; 2. Data and knowledge acquisition; 3. Development of a prototype system; 4. Development of a complete system; 5. Evaluation and revision of the system; 6. Integration and maintenance of the system [1].

Continue reading “How to Build an Artificial Intelligent System (I)”

Roads from Above: Augmenting Civil Engineering & Geospatial Workflows with Machine Learning

Road from Above is partly based on my Australia Postgraduate Intern Projects (Computer Vision and Machine Learning for Feature Extraction) within Aureon Group in Melbourne.

Aurecon’s experts, across Cape Town, Melbourne and Auckland offices, have been teamed up to develop and test approaches that capture and validate new and existing measurements of the metropolitan road network. Due to the confidentiality, we reduced the resolutions of the aerial images and only opened limited results on the public domain at https://roadsfromabove.netlify.com/. Thanks to Greg More, the design of this website got the best feedback from the workshop (Visualization for AI Explainability) of the IEEE VIS 2018 conference in Berlin, Germany

Visualization for AI Explainability: Projections and Dimensionality Reduction. The goal of this workshop is to initiate a call for “explainable” that explain how AI techniques work using visualizations. We believe the VIS community can leverage their expertise in creating visual narratives to bring new insight into the often obfuscated complexity of AI systems.

Road from Above

Continue reading “Roads from Above: Augmenting Civil Engineering & Geospatial Workflows with Machine Learning”

MacOS X: Installing TensorFlow from Sources [TF Binary Attached]

When I am using TensorFlow on my MacBook Air, I always get annoyed by the warnings comes from nowhere, so I followed the documentation below to build TensorFlow sources into a TensorFlow binary and installed it successfully.  In theory, this will make the TF running faster on my machine.

Here is the document:

If you are a Mac user, you could download the TF binary from here:

Then, you could use conda to initialize an environment with Python=3.6 and install TF by typing:

sudo pip install tensorflow-1.8.0-py2-none-any.whl

Continue reading “MacOS X: Installing TensorFlow from Sources [TF Binary Attached]”

Sharing My Data Science Notebook (Python & TensorFlow) on GitHub

Python is a great general-purpose programming language on its own, but with the help of a few popular libraries (Numpy, SciPy, Matplotlib, TensorFlow) it becomes a powerful environment for scientific computing and data analysis.

I start sharing my notebooks on learning Python and TensorFlow, here is my GitHub repository:  Data_Science_Python.

Logo

 

 

 

Continue reading “Sharing My Data Science Notebook (Python & TensorFlow) on GitHub”

Install PyTorch on Window 10

Great news! PyTorch now is supporting Windows!

If you have a PC with suitable Nvidia graphics card and installed CUDA 9.0 and Anaconda, type the following commands;

conda install pytorch cuda90 -c pytorch
pip3 install torchvision

It is about 500 MB, so be patient!

Screen Shot 2018-04-29 at 21.44.50

Underline is the old post.

PyTorch is a deep learning framework that puts Python first. Currently, it only supports MacOS or Linux.Capture1

But, can we use it on WIN10 without changing the system/computer?

Yes,  we can. 

Continue reading “Install PyTorch on Window 10”

A Taste of TensorFlow on My Android Phone (II)

This post is a follow-up to my last post: A Taste of TensorFlow on My Android Phone.

You could download my compiled Apk file here and install on your android device (>Android 7.0) (22-May-2018).

Update: 25-May-2018, fixed the bug of object tracking function in TF Detect. PS: While running the activities, pressing the volume keys on your device will
toggle debug visualizations on/off, rendering additional info to the screen that
may be useful for development purposes.

 

Feel free to let me know if there are any bugs 🙂

TensorFlow Mobile

In the last post, I just tried the TensorFlow for object classification (TF Classify). This time I installed all four demos of the TensorFlow Mobile for Android according to this tutorial: TensorFlow Lite Demo for Android. They are awesome 😛

Continue reading “A Taste of TensorFlow on My Android Phone (II)”

Fast Neural Style Transfer by PyTorch (Mac OS)

Continue my last post Image Style Transfer Using ConvNets by TensorFlow (Windows), this article will introduce the Fast Neural Style Transfer by PyTorch on MacOS.

The original program is written in Python, and uses [PyTorch], [SciPy]. A GPU is not necessary but can provide a significant speedup especially for training a new model. Regular sized images can be styled on a laptop or desktop using saved models.

More details about the algorithm could be found in the following papers:

  1. Perceptual Losses for Real-Time Style Transfer and Super-Resolution ;
  2. Instance Normalization: The Missing Ingredient for Fast Stylization.

If you could not download the papers, here are the Papers.

Continue reading “Fast Neural Style Transfer by PyTorch (Mac OS)”