Neural network image classification on Joker

Neural network image classification on Joker

Hello All, Today I want to show you how Joker can be used for neural network image classification with Caffe project. Caffe is a deep learning framework. This tutorial should work on any Linux distribution (CoreOS, Debian, RedHat, etc). For simplify overall process I have created Docker container with Caffe (built from sources) and already trained "BVLC CaffeNet Model" (based on ImageNet). Who wants to dive deeper can check training instructions here. Let’s do some console work. Issue following command to pull and run docker container with required software: docker run --name ai -p 5000:5000 aospan/caffe-cpu python /opt/caffe/examples/web_demo/app.py After container startup you can go to web-interface: http://joker:5000 and check how neural network classify your images. Let's try to check how our neural network can classify images. I will make some photos from my smartphone and will check:   hmm, looks good ! Our neural network found tennis ball on the image (i have marked results by red arrow). Let's try one more: Bicycle was found ! Try to make photos by...
Read More
Video decode and encode on Joker using Intel GPU

Video decode and encode on Joker using Intel GPU

Hello All, Today I want to show you how Joker can be used for video decode and encode (transcoding) using Intel GPU (QuickSync technology). For better performance we will use Intel GPU (graphics processing units). In this case CPU is not loaded with video processing tasks. This tutorial should work on any Linux distribution (CoreOS, Debian, RedHat, etc). Let's do some console work. Issue following command to pull and run docker container with required software: docker run --privileged --name gstreamer -v /dev:/dev -it aospan/docker-gstreamer-vaapi /bin/bash grab some coffee and wait. After all you will see following prompt: root@dbbc5ddfc092:/# now you can issue command for transcode sample video file: /opt/transode-file.sh this command takes sample file from  /opt/moscow24.ts and change video codec from MPEG2 (resolution:720x576) to H264 (resolution:720x576) and change audio from MP2 to AAC. It should take about 25-30 seconds to transcode 100 seconds file. Now you can change /opt/transode-file.sh script and do your own experiments with video transcoding on GPU. CPU and GPU load monitoring Open new terminal connection to Joker and issue following command: docker exec -it...
Read More
12