NVidia Benchmarks for specific Artificial Intelligence tasks (Generative Adversarial Networks)

I started to do some benchmarks in order to plan the future needed computers and tools for Generative Adversarial Networks (GAN)

bechmark-adrian-minst-1

3 computers until now (all on Windows 10)
Elapsed Time for CPU = 5 hours, 47 minutes, 26 seconds
Elapsed Time for GPU NVidia 920M = 1 hour, 39 minutes, 15 seconds
Elapsed Time for GPU NVidia 940MX + SSD = 1 hour, 13 minutes, 16 seconds

GPU and SSD are a must so you need to
– install tensorflow-gpu instead of tensorflow
– have python 3.6 (on 3.7 id does not work yet, see tensorflow site https://www.tensorflow.org/install/pip)
– install Cuda 9 (I also installed Cuda 10 but it does not work – you can have both Cuda installed)
https://developer.nvidia.com/cuda-90-download-archive
Cuda 10 is here https://developer.nvidia.com/cuda-downloads
– install cuDNN for Cuda 9 (register at NVidia, download package and copy 3 files as described on site )
https://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html

Tensorflow news:
TensorFlow 1.13.0-rc2 @aselle aselle released this 5 days ago
TensorFlow GPU binaries are now built against CUDA 10 and TensorRT 5.0.
Support for Python3.7 on all operating systems.

https://github.com/tensorflow/tensorflow/releases

I tested with Tensorflow nightly 1.13.0-rc2, Cuda 10, cuDNN v7.4.2. I had to install a new driver from Nvidia GeForce Experience application to make the system work. I am still on Python 3.6.8. I will come back here after Python update. Now I am benchmarking this new configuration

Bad news – Cuda compute capability minimum requirements (solved on Tensorflow nightly 1.13.0-rc2, Cuda 10, cuDNN v7.4.2)

I upgraded to Tensorflow 1.11.0 and the game ended for NVidia 920M (Cuda compute capability required is 3.7 > cuda compute capability of NVidia 920M). Check your board on this table https://developer.nvidia.com/cuda-gpus

Tests where done on super algorithms described at https://www.pyimagesearch.com/

I will add more NVidia boards and configurations on this article 

Enjoy Artificial Intelligence and Generative Adversarial Networks (GAN) !

Dorin

P.S. Strange errors while using other configurations

File “C:\Program Files\Python36\lib\site-packages\tensorflow\python\keras\backend_init_.py”, line 22, in
from tensorflow.python.keras.impl.keras.backend import abs

File “C:\Users\dorin\AppData\Local\Programs\Python\Python36\lib\ctypes_init
.py”, line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

File “C:\Users\dorin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\platform\self_check.py”, line 97, in preload_check
% (build_info.cudnn_dll_name, build_info.cudnn_version_number))
ImportError: Could not find ‘cudnn64_7.dll’. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. Note that installing cuDNN is a separate step from installing CUDA, and this DLL is often found in a different directory from the CUDA DLLs. You may install the necessary DLL by downloading cuDNN 7 from this URL: https://developer.nvidia.com/cudnn

……………

 File “C:\Users\dorin\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\saved_model\model_utils\export_utils.py”, line 51, in <module>
    ModeKeys.TRAIN: signature_constants.DEFAULT_TRAIN_SIGNATURE_DEF_KEY,
AttributeError: module ‘tensorflow.python.saved_model.signature_constants’ has no attribute ‘DEFAULT_TRAIN_SIGNATURE_DEF_KEY’
……………….
Ignoring visible gpu device (device: 0, name: GeForce 920M, pci bus id: 0000:08:00.0, compute capability: 3.5) with Cuda compute capability 3.5. The minimum required Cuda capability is 3.7.

 

Matrix reversed

pisa-faces-andrei-anca-w200 While watching the movie Matrix, we were all revolted that all the people are connected to a Matrix and are living virtual lives
Starting today I noticed that some people will deliberately connect to Artificial Intelligence Matrix in the near future. They will become dependent of it.
They will feel bad, lonely and unproductive outside The Matrix.

ioana_anca_300 It is happening today with mobile phones. We all saw jokes about people staring at smartphones and looked at new jobs like helping an “email reader” and a “facebook poster” to cross the street. Netherlands already implemented an upgrade of traffic lights – the big one for drivers we already know. We even start to get used to the small ones for bicycles. But what about the new one for smartphone readers that is a red bar on the ground level, parallel with the white zebra lines, that goes red at the left and right of your smartphone !
1487090741_bodegraven-lights-to-warn-mobile-phone-users_story

The real Matrix is the one with Artificial Intelligence engines delivered in the clouds of Microsoft, Amazon, Google, Nvidia and many others.
Read about the tested performances of this engines from someone how knows how to ask the right question (read the Terra Questions Set asked by Adrian Rosebrock from PyImageSearch) in this article
tensorflow brain l2

Software Development is different with or without Internet. I remember that one day I had to switch activities during a day without brain connection to Google. By having access only to the books that are already downloaded to your PC and paper books, developing speed go 10 times slower. Debugging goes 10 times slower without the advice of your peers around the world. Developing using reading and using chunks of Internet examples goes back to a slower paste of full book reading. Now even the airplanes start to offer Internet and power supply so you do not feel unproductive on Trans Atlantic flights. 20 years ago the quality of slow paste analysis and development was much better but the deadlines where not so tight. We need The Matrix to deliver at today’s client expectations and competition.

Matrix Reversed existed before 1910 see https://en.wikipedia.org/wiki/History_of_amateur_radio
People where connected to planetary radio-communication matrix and spend long nightly hours to connect with the voice of others (through CQ CQ CQ mesages – Hello I am Bravo Mike Oscar Quebec Hotel India nice to meet you) So Matrix Reversed existed before 1969 (see implementation of Internet https://en.wikipedia.org/wiki/History_of_the_Internet),
now even the no-it-school guys have a device called Facebook (even simpler versions starts competing – WhatsApp, brain sensors, …)

Enjoy your soul until we become the tree from Avatar http://www.imdb.com/title/tt0499549/ – !!! So the supreme network is already described 🙂
Avatar tree of connecting brains and all the past brains uploaded into the tree
Avatar tree used to connect the living brains with all the past brains uploaded into the tree

Bonus ! A TED video of a super scared expert in sociology (scared of super “free” networks working on advertising business models)
We can not live outside the Reversed Matrix because we can not deliver the results and deadlines expected by our clients, today, only with printed books. We can not afford to create or buy private networks nearly 30% as good as the public network. We can not accuse the “free” business models of big companies because they are collecting data on us and use AI advertising models on our personal data. We have each day many choices, but we choose them every day, with our habits, by reading and writing in the spider webs, instead of using just our printed books and Starbucks meetings. A lot of years ago I thought that Second Life application was for me and my freak friends. Now it become our world. I noticed how small dependencies where created then, and huge ones today.

Enjoy !

Dorin

How I used Artificial Intelligence to organize 200.000 photos

“When the Student Is Ready the Teacher Will Appear”

I found a very good book about Artificial Inteligence on this site PyImageSearch.com at this link
I used the algoritms inside the book to compute image blur and other properties
This is a photo of the app using Adrian Rosebrock advices and python code (see the focus info at each image)
adrian_pyimagesearch

See the application at work on this link

Enjoy !

Dorin

How to become a Virtual Coach

Subscribe to free full video package on Eben Pagan site

Winners have coaches. Leaders have coaches. High performers have coaches. Successful people have coaches. If you look at people who have achieved high levels of success in life, who are super productive, you’ll find a common pattern: They have great coaches.
dorin_mike_tyson
Who is coaching Mike Tyson ?

Coaching is really taking off right now. It’s already a 2 billion dollar per year industry and one of the fastest growing professions in the world… and after you see this video, you’ll see that this is just getting started!
Virtual Coach training Video

This is just a sample so you can decide to see them all !
Subscribe to free full package on Eben Pagan site
You can also download exercises and more on Eben site
– 10 Profitable Coaching Niches
– Unique Genius Exercise
– Virtual Coach Video 1 Summary

Thank you for your interest in this free training that shows you how to launch a profitable business, by helping people all over the
world as a “Virtual Coach”.

If you’ve always wanted to do work that makes a REAL and lasting difference in people’s lives, I think you’ll really enjoy this free training.

Read more on Eben site here
(register to receive all videos and materials from a prolific super coach – Eben Pagan)

Enjoy !

Dorin

Apple Watch Science & Technology app for iPhone, Android and Windows 10 (smartphone, laptop, desktop and hub)


#AppleWatch my Videnda science & technology news app just received a sweet review on @Appszoom !
Check it out: AppsZoom link

And another one at WatchAware. Hope it will work well on #iPhone8 and #AppleWatch3. Read it here WatchAware Article

Apple Watch photos
musca Simulator Screen Shot Dec 13, 2016, 8.27.39 AMSimulator Screen Shot Dec 13, 2016, 8.25.54 AM

Simulator Screen Shot Dec 13, 2016, 8.28.02 AMSimulator Screen Shot Dec 13, 2016, 8.28.46 AM

default50 Simulator Screen Shot Dec 13, 2016, 12.06.41 AM

details Simulator Screen Shot Dec 13, 2016, 12.08.29 AM

iPhone photos
full width Simulator Screen Shot Dec 13, 2016, 12.10.26 AM

Read 18.000 more articles using the following apps

png_Download_on_the_App_Store_Badge_US-UK_135x40 Get it on Google Play Get it on Windows 10

Why we “Major on minor things” ?

Why we “Major on minor things” (Jim Rohn)?

Jim Fannin told us this story, that we use to put first the water in the jar, than we take the some water out to put the sand, than we take water and sand out to put the pebbles and than we work to take the some water and sand and pebbles out to put a golf ball. Most of us stop, exhausted, somewhere during this process. Few of us start filling our life jar in the right order. He asked us to do this experiment every night in the 10 minutes before sleep (it is replayed by subconscious 30 times more often than the rest of the day events). The experiment will have strong impact on your brain and life, with big surprises like the order of the golf balls from the first day and from day 30, or day 300, because you will never want to break the habit. Good luck !

Parts of Jim Fannin keynote speech at PGA Worldwide Golf Exhibitions Las Vegas is here. Enjoy ! (I am in the movie at minute 59:12 :-))

Advanced technical info:
– If at the end of some day you are not satisfied with the results or with yesterday results, just ask yourself. When did I last time do this exercises described in this article ? Notice the number of days you forget to fight to create a good habit in your life. Steven Pressfield calls this “The years that I do not remember”. And start doing them again, and again.
– Habits needs 20-30 days to appear or to get cleared by other habits. If you want to know why, look at a path that was created through grass by a lot of people walking a lot of days and month through. This is how your brain works (There is no strait line through brain, also 🙂 )
– If at the end of some day you wonder why everything was so productive without the exercise look at that day. You where full steam, full day into creating for your endeavors. Congratulations !
– I forgot to give you the answer to the question in the title : Priorities. Your subconscious has his own priorities. Some are from the DNA, some are from your social interactions that he gathered throughout your whole life in order to help you survive. It is now your time to design your life. Give him the things that you want on a daily basis. He will learn them and help you back. He is a good student, just give him the best teachers in the world, everyday, not only on New Year Eve, or he will believe that you changed your mind and telenovelas are the most important thing to drive your ship to. He is taking care of you to breathe and other tons of things, do not think that only you, the captain, are driving your life.
– Very advanced technical info: Every time you replace your major priorities with urgent or low importance things he will push tons of other important things on the stack, like 10 or 20. Remember that you had to switch to urgent, do the urgent fast, on deadline, and go back to major things not the stack. Example Andre Agassi switched from number 1 to 141 and then back to 1. While he was down, in an instant, 140 players where better than him and this will happen in your brain the second you switch to low long time priority things. Subconscious will push another 100 more priority tasks on you and you will have to come back to the surface of the water and breath again. Use alarm clocks or other means to wake you up. Some people use pictures on the walls but the brain get used with alarms and pictures and learn to ignore them. Use a long play list of videos like I embed into this article to get you on the track. Normal TV and Movies will not help see details here

Read 18.000 more technology breakthrough news on the following mobile apps or on your Apple Watch

png_Download_on_the_App_Store_Badge_US-UK_135x40 Get it on Google Play Get it on Windows 10

Recommended Books

Favorite Book List

“Learning through personal experience and knowledge, which propagates from generation to generation, is at the heart of human intelligence. Also, at the heart of any scientific field lies the development of models (often, they are called theories) in order to explain the available experimental evidence at each time period. In other words, we always learn from data. Different data and different focuses on the data give rise to different scientific disciplines” … read more in the book bellow

“In order to influence somebody you should first find out what is already influencing him” Tony Robbins

Fight the resistance in you, create on a daily basis and go away from shadow goals

“In order to do something you’ve never done, you have to become someone you’ve never been.” Les Brown