Start with AutoML Vision alpha

Starting with AutoML Vision Alpha


I have a conversation when asked about one of the top questions is Google Cloud AutoML. Let's use AutoML Vision Alpha and use the machine learning model that recognizes different chairs, as well as some other items sprinkled for better measure. We're doing it all, all the way from raw data to model service, and all in between!


A lot of people are stating for access to AutoML Vision Alpha, and I'd like to walk away from the workflow to show you what it's using if you haven't gotten the waitlist yet. In the first video, we will get our data in the correct format for AutoML Vision. So in part two, we use this model to find out what the style of the chair is in the picture. We dive so ... What is AutoML?





The Cloud Vision API can identify the chair, but it is generic


One thing that makes AutoML so attractive is the customization model. There is no problem in identifying existing models and services like Cloud Vision API that may have a chair in it in the given picture, but what if you designed and built the chair, and need some way to make a list of chairs of different brands in your list? Isn't it nice to be able to use the "Custom" Vision API, then, who recognizes your particular chairs? This is what AutoML VISENE aims to do.



This is a yellow chair

Here are some more chairs: AutoML Vision takes a lot of input and a lot of labeled photos. How many pictures, you ask? Ideally, hundreds per item would be fine. So get out there and start snapping photos. If you are tired of clicking that shutter button, you can use an alternative approach that I am using.




Taking photos - with video!


To make it easier to capture data for AutoML Vision, I collected my training data by taking videos of the chairs I was interested in and using FFmpeg to extract the frames.


I went out on Google Sunnyvale campus and took a variety of videos of different outdoor chairs. I also took some videos of the tables that were placed around them, as well as the bikes, just to make things a little more interesting.


Let's look at an example of that scene.

There are chairs of different sizes, styles, and colors. No video is longer than 30 seconds in length. And we have a short clip of the table and another of the bikes. The data that we will work with.

The end state we want is a CSV file that has 1 row per image, and two columns, the first for the location of the image in Google Cloud Storage, and the second for the label, such as 'red chair', or 'table'. , Or 'blue chair'.

To make it easier to organize, I put each video in its own folder. We can run FFmpeg on each video file backward.


Once the frames are removed, you have a folder per label, filled with the image of that label. This is an easy way to organize your images, and simpler than keeping a huge folder of all the images.


FFmpeg -I president.mp4 chair% 03d.jpg


(% 0d in the filename will give us a padded number of digits, such as Chair 300.jpg, Chair 073..jpg, etc. If you have more than 999 images, you should use% 0dd or some other value as appropriate )


Next, we can upload images to Google Cloud Storage using gsutil, copying the folder structure of one folder per folder.


gsutil -m cp -r all_data gs: // cloudmail-demo-vcm / dataset


(This command repeatedly copies/uploads the entire folder structure to all_data and uses -m with multiple streams)






Structuring your data


AutoML needs to know where to find all your photos, and a way to know what is in each image. We need to create a CSV file that lists the paths and labels that I wanted to include in my data set for each image. There are many ways to achieve this, but I chose to spin a local Jupiter notebook and create a Ponds data frame to export as a CSV file. We can see this in the video below.


Looking for the code/notebook shown above? It's here!


Okay, so now we have a CSV file describing and describing the labels for all the images in our dataset. We are ready to train our model!


It looks like once you've loaded the images into AutoML Vision. The CSV file informs the platform what the correct labels are for each image. If you haven't already labeled your images, that's fine - there's a tool built into the UI to guide you through the labeling process and show which image is still labeled.

Part 2: Training and deploying AutoML vision


Model training


Training a model is as simple as clicking a train! This is the point of all the setup we are doing. This enables AutoML Vision to take data and train your data in sophisticated image models and automatically detects suitable hyperparameters such as network structure.


But before you go and advise more models, I recommend to start with the simple model first and see how it performs. This will give you the basics against which you can compare the relative performance of other models.


Once the training starts, go hiking or have coffee. Given how much data we have provided, it will take some time.






Evaluate your model


Once the training is complete, you will get all sorts of facts about your model, which you can use to see how it performed and some images that were misspelled, or other aspects that need to be corrected, and then re-train.


In our case, we've gathered a lot of specific, clean data from the design, so we've got some very high metrics. As far as what really counts is how it performs in the new, invisible data.



Prediction time!


To challenge this model I took some pictures and see what it turns out to be.

Let's try this picture, which includes the bike, with the yellow and blue chair.


It is true that the picture was mainly recognized as a bike, but it also got a yellow and blue chair. They are in the background and less pictured in this photo.


Let's try again.

This picture is mostly a yellow chair, but there are also some blue chairs. The model decides to look mostly yellow chair with its blue chair.


What about this picture of a mostly blue chair?

Yeah Al that sounds pretty crap to me, Looks like Al that sounds crap to me, Looks like Al that sounds crap to me, Looks like Al that sounds crap to me, Looks like Al that sounds crap to me, Looks like Al that sounds crap to me, Looks like Al that sounds crap to me. Not everything is going to be perfect, but so far the top option has proven to be good enough.


In the end, what about this picture, very similar to the last one, but the front chair is yellow? What would the model think about it?


Wow, the yellow chair at the front wins out big time! Finding spaces in your model and dataset can be entertaining, depending on your experiment to understand how you can go and collect more rigorous and representative data.


Wrapping


It is worth pointing out that in this mode, the model is available for calling through its RESP API. This service takes advantage of the online prediction capabilities of the Cloud ML engine to provide an optimized, automatic scaling, prediction service, trained in our dataset.


You can call your service via the REST API from any server or Internet-connected device


The clear part about all of this is that once your data pipeline is all done, it's a training process and the task of operating machine learning models is completely hands-free! This allows you to focus on getting your data in a better state, and overcome the challenges of building a suitable computer philosophy machine education model.




Note the annotation "AutoDepender" under the model name

Now if you forgive me, I'm going to take a few more videos of fun colored chairs I can expand my dataset for my AutoML Vision model!

Blessed p̵i̵c̵t̵u̵r̵e̵ video taking and AutoML vision model training!

Thanks for reading this part of Cloud AI Adventure. If you are enjoying the series, please applaud me for the article. If you want more machine learning work, be sure to follow me in the middle or subscribe to the YouTube channel to catch them when future episodes come out. More episodes coming to you soon!



AutoML data preparation notebook → http://bit.ly/2KQO9Vm

Comments

Popular posts from this blog

Artificial intelligence (AI) - the ability of a digital computer.

What is SEO and how to do search engine optimization?

Facebook's name has been changed to 'rebranding'

Labels

and Artificial Intelligence a Social media Facebook What are on phone you This your mobile IT Nepal Android internet for Do can smartphone use with from workforce iPhone media app be new social robot why will data does not Apple Machine Learning Now these Python by that YouTube account company computer feature like or password ChatGPT Whatsapp digital twitter Instagram an China Tiktok free has machine make without work Know US find information online search way Future Here out people video videos If Microsoft One apps battery photos user website Avoid Have India Intelligence Laptop ML after corona features market may need phones protect public service smart system users year Buy Elon Musk Windows billion cyber million money network update which world 10 Things about chrome education history home photo want Bitcoin Content Did Keep Machine Learning Future Nepali Operators SEE Scientists Who Wi-Fi artificial browser code don't down download government hacker hacking launched many mind safe security take tips when Amazon Artificial Intelligence Future Cryptocurrency GPS Gmail Learning Pro TV as at bank being cloud going human its life malware netflix software study their there two used version where 14 15 7 Beginners Deep Learning Earth Messages More NASA Privacy Risk Samsung Some Than Thinking Top also available become been business buying camera career change chat companies countries digital marketing easy first hacked hackers jobs look marketing meta millions monetization most number old price sent settings should store such using virus while work force 5 Agriculture Bug Deep Development Everyone Gemini Global Google Maps Here's Kaggle RAM So Types Typing Ways Windows 11 World Cup Xiaomi accounts address all attack brain care chip dangerous difference drive earn email files found get go good hidden image including job language location message mode news only open passwords pay percent play problems really saying search engine smartphones storage story them time tricks up watch we web windows 10 working 17 2020 2022 4 6 Based Cambridge Dark Web Deepfake Electric Elon Even GB GPT Health-care Help Includes Lite Maps Models Must OpenAI Operating Oppo Pakistan PayPal Print QR Reasons SEO SMS Telegram TensorFlow Tutorial Type Vision WiFi Word Zoom advertising age another any becoming best better biggest blue charging comments computers could country created cyber attacks days deleted doing due easier electricity emails employees engine ethics eyes fake football forget function gadgets game games gets glasses hours humans iPhones increase install keyboard launch lost making medical memory misused monitor months moon much name once own post posts private problem processing production program quantum quickly robotics robots run safety satellite says scan science screen secret secure send share signal space stay students systems target they thousands too topics useful viral voice war was water wireless workers worldwide years 000 100 11 12 16 18 200 2024 30 35 5G 8 AI Education Alan Musk America Analytica Applications Army Assistant Banned Because Before Blockchain Bounty CCTV CEO COVID-19 Chat GPT China's Chinese Choose Clean Close Clubhouse Computer Vision Crypto DL DNS Developer Docs EV Economic Explain Factory Finally Galaxy Google chrome Google drive Healthcare I IBM Identify Japan Keras Kernels Large Lifestyle Looking MDMS Mac Music Musk Natural Ncell Nepal's Nepalis Net Notebooks PC Police Preparing Prime Revolution Russia SIM Save Scikit-Learn Skills SpaceX Starlink Stephen Hawking Sun Tesla Theme Therefore Trump Unnecessary VPN Variables Visas Wait WorldLink ability ads air airplane along alternative among attention authentication autocorrect aware background bandwidth beneficial between blocked break bring browsing bully cable call cameras cannot captions capture cause center charge charger chatbots check children class come coming complete consumption control copyright corona-virus courses create crimes currency cyber security dark dataset datasets day deal delete deleting details developed device different dislike doctor documents domain during dynamic each easily employee energy engineer engineering exactly excessive expected extend factor facts family fiber fix forced forever fraud friends full gas getting given got growing guest hand handle hear heater his iOS iOS 26 iPhone 14 impact important incognito income industry insecure into invest known lakh law learn list listen live long loss main manager map meaning meanings megapixel messenger mistakes model month movies nonsense nuclear off opening operated original other our over phishing physics platform porn prevent product programming protection question ready real real-world reduce rejected released remove removes report results reward room ruining same saving say scandal searched secretly selfie setting sex shortage show side since site sold solve someone sound source speaking special speed spyware stuck studying subscription taken talent techology television test tick today torrent traffic trick trillion true turns universe upload uses various verification vulnerabilities warning weakest weapon woman women won't young "Nano Banana" $100 & 'Buy the Dip' 'HDR' 'Hey Google' 'Hey Siri' 'I' 'Mr. Beast' 'Professional Mode' 'Trash' folder 'football intelligence' 'hidden' 'refill station' (IoT) (LLM) (NLP) 1 1.2 10:10 10th 145 19 2 20 2007 2026 2027 25 300 3D 40 4000 46% 48 4K 5 P's 60 600 7 C's 78% 8.5 80% 8000 90% @everyone on A17 AI Tool AI ethics AI-Based AI-powered API AR Adjust Adobe Adopt Adsense Adsense Supports Africa Alexa Algorithms Ali Baba Altman Amazon Jungle Amazon Prime Ambani American Anaconda Android 11 Android TV Android phone Android's Annoyed Anthropology Apple's Apply Appoints Arithmetic Art Art through NFTs Artficial Intelligence Artificial neural Artuficial Intellegence Ashika Tamang Assignment Astronauts Astronomy Atrificial Inteligence Attacks Audiobooks Augmented Reality Australia Australian Auto-GPT AutoML Avatar 2 Bachelors Banning Bard AI BeiDou Bernie Sanders Beyond Big data BigQuery Bill Gates Bitwise Blind Blockchain Developer Blockchain Technology Bonus Books Brave Brave Browser Brazil Browser's Bumble C charger CPU CPU temperature CTEVT CV Cases Casting Changed ChatGBT Chery Citroën C5 Cloud Factory Cloud Factory Nepal Club House Colab Command Comparison Compute Concatenate Concerns Contactless Contactless payment system Copa America Copilot Couple Challenge Crash test Create your first Project on Python Crossover Cup Cybersecurity DRS Gaming Dark mode Datalab Dating Deep Fake Deep Learinig Deep Learning with Python Deep Neural Networks Defender Demat Department Dept Development in predictive analytics Didn't Digital avatars Disable Discontinuing Discovers Do not Dodge Dogecoin Drones DuckDuckGo Duo E-task EA ETF EU EVs Earbuds Earth 2 Earthquake Edge Computing El Salvador Elected Electric Vehicles Electrical Eliminate Embassy Embedded Application Embedded Application (EA) Emoji Epstein Epstein’s Estimators Ethical Hacking Euro NCAP European Every Evolve Exchange Explained Explosion Express WiFi FE FPS Facebook Messenger Facebook's Facets Fears Federal Reserve System Finance Finding Firefox Fitbit FiveG Fixed wireless Follow Forge Fraud Call Freefire Freelancing GIF GPU Gadget Gboard Germany Git Giving Glass Gold Google Chat Google Cloud Google Meet Google Play Music Google Plus Google Plus code Google Workspace Google search Google's Green room Greenroom. Spotify Grok Guest Mode HDMI Habitable Happy Birthday Health sector Heights Holi Honest Honeygain Hosted Hour Huawei Huawei's Hub Hyundai I'll I'm ID IMD IP IPO ISP Implementing Increasing Index Indonesia Inflation InfoSec Input Inspiration Installation Instead Integrated circuit Intel Intelligent Internet of Things (IoT) Introduction Iran Iranian Iranians communicating Island Isn't JBL JPG JPMorgan Chase & Co Jack Ma James January JavaScript Jeffrey Jio John Joker Virus Journalism Jungle Jupyter Jupyter Notebooks Kathmandu Keys Korean LAN LLM LP Large Language Models Launch of better autonomous systems Lee Kun-hee Library Liking Line Linux Liquid Logical Lucky MDMS Nepal ML Engine MSN MaAfee MacBook Mark Zuckerberg Max Meet Membership Mero Share Metaverse Microsoft Office Microsoft Teams Military Military weapons Minister Missiles Mobile Operating System Module Moltbook Mouse Mukesh Ambani Musk's Musk’s data NASA's NEA NFT NFTs NPR Natural language processing (NLP) Navigation Nepal. radio mapping Nepali businesses Nepali game Nepali youth NetTV Neural Network Neural Networks New Technology No Nokia North Korea Note Nvidia Object Detection Open-source OpenAI's Opera Outlook Outsourcing PDF PNG PPT PUBG Pandas Pandora Parent Paytm Pendrive Photoshoot Pi Network Pip Plan Planets Play Store Pokémon Pokémon Go Precision Premium Preparations Prerequisite Pro's Process Process discovery Pycharm Pyenv Python Programming Python Tutorial Python Tutorials Python for Beginners Python on Windows Quick Draw RCS Race Radically Raise Ransomware Rashtra Bank Rasuwa Reboot Recommender Recommender Systems Redmi Reinforcement Reinforcement learning Reliable Reliance Reliance Jio Remittances Remotely Remove. bg Replacing Reverse Rice that grows for years once planted Rises Robot Sophia Roles Ronaldo Routine of Nepal Banda S&P 500 S&P Global Ratings S26 SD Scale Scaling Scikit Screen Pinning Selection Sensitivities Sensors September Seven Shorts Singapore Sitting SixG Snapchat Sophia South Korea Space X SpaceX's Spam Stable Coin Steve Jobs Stock market String Success Sundar Pichai Supermarket Supervised Supervised Learning Supervised Machine Learning Supply Chain Attack Supports Swift TIFF Teaching Teenagers Telecom Telecom's Telescope TensorBoard TensorFLow Hub Thes Tiktok stop Time Travel Tool Training Data Transforming Translation Trojan Truecaller Trusting Try Type-C UAE UI US Congress US-China USA USB Understand United States Unspoken Unsupervised Unsupervised Learning Unsupervised LearningUnsupervised Machine Learning Unsupervised Machine Learning Upcoming Upcoming Technology Urges Using a drone VPNs VR Valley Vehicles Virtual reality Virtualenv Visualize WWW Walkthrough Walmart WeChat Webb Wha What are Assignment Operators in Python What are Comparison Operators in Python What are Logical Operators in Python What are Operators in Python What are the basic laws of quantum physics What is What is Chat GPT What is Google Adsense What is Pycharm What is Python What is String in Python What is Variable in Python Whose Wi-Fi 6 Wikipedia WordPress Wrangling data Write X X8 series XAI XOR XSS Yeti YouTuber Ziglar Zipty Zuckerberg accept access accidentally action adding admin administration admins advantage advertisers again against agencies agency agricultural ai beauty aims aircraft aired alert algorithm almost alpha amid analytics ancient and security angles announcement announces annoying answer answering answers antivirus anyone anything appeals appear appearance appliances application approach approaching approaching science meaning apps. google arise around arrive arrived article artificial blood vessels arts associated attach attract attractions audience authentic automatic automatically autonomous avatars baby back backed bad ban bans bar basic batteries beginner benefit benefits beta bicycles bitcoin mine bitcoins black blacklisted blackout block blocking boarding bogged book bought box boycott boyfriend brand brings broadband brought budget bug bounty build but buttons bypass cable internet cables calculus calls campaign can't cancel cancer capacity car cards careeer careful carry case cave challenge channel chat.com chats cheap cheaper checkmarks chess child chips choose. a click clicking climbers clock closest club coding collaboration colleges color combat commercial common communicate compensates compete competing completely computer mouse computer science computing concept condition connect cons consider consumes contains controls controversies conversations cooker credit crime crisis criteria crore crores crowdsourcing culture cure cutting cyberattack cyberspace cycle d about damaged danger data center data science dating apps deadly debit dedicated delete data deny deport depression destination developing devices diary die digit digital banking digital cameras digital land digital privacy disappeared disappearing discovered discovery displaced display displays disrupt disturbing document dog dollars domestic doodle door downloads drains dream drone drug trafficking durable e features e-Rupee e-SIM e-books e-passport e-sewa eBooks ePassport earn money from Nepal eating economy edit editing effective electronic eligible else email server emerged emergency emojis end enough entering entire espionage etflix except excuse existence expensive expire extracts eye face app facial facial verification failed false far farm fax fdown.net fee feet fight file film final fitness five flood floods flying foldable food fooled footprint foreigners forensics forgotten form formats forwarding foundation free upgrade frequency freshman from search fruit fuel game tips gamer gasoline gateway geometry gestures give gives goes gone good content goodbye goods google docs gossip granted great groups growth guide hack had hall handy happen happy harmful he head headphones headset health higher hike hikes hobby household human brain human intelligence human trafficking hundreds hurting hydrogen hype iCloud iPad iPhone 12 Pro illegal data illicit trade illnesses image processing processor images impair improvements inbox incidents incorporating increased incur induction instant instrument interest interesting interests internal storage internet speed intranet introduced introducing invented invention investigating investment invites issues it's it’s jack join journalists journey kit laboratory lack languages laptops last later latest launches launching lawmakers laws leak leaks legalize let letter letters licenses light likes link links listening lives loaded lobbying locked longest lose love machine vision made main features maintain major maker makes man manage management system managing mango marketplace martial mask matches matter measures measuring meetings megawatts melting meme mental messaging microphone middle million. downloads mine misleading missing mistake mobile number moble moment monetize monitors monkey mother mountain mounts move movie moving mute my myths name-x names naming near necessary needed negative networks neural neural networking new code new look new windows news anchor next night mode non non-folding notes notifications now.gg nuclear energy obligation obscene obtained offenders office official officially offline often older open source opened operate operating system opposed optic optical optical fiber optimization option options others outbreak overheating oversold overtakes overuse owner page paid pandemic paper participant participate passkeys passports password. patent pattern paying payment peace pen drive permanent permission person personal personalized perspective phone confidential picture pictures pirated placed placing planting platforms playing policy political pop-up popular popularity port possible powered powerful practice predictive pregnant prepared pressure prices principles prize processor product key programmatically programming languages project prompt prompts proper property pros protected provide provided proxies proxy quantum computer quantum internet questions quires quota r daily radio rain rainy season raises rate reach reading real-time realities reason rebranding recognition record records recover recovery reform refresh refreshes refrigerator regarding registered registration regulation regulators related relationship relaunched remain removing repairing replace reports requiring reset residence resignation resolution responsibilities restaurants returned revenue review rings risks risky road robotic dog rocket rooms round ruin rules running runs safely sale sales scammers scary schedule scheme schools scientific screens search engines seeks selectric cars sell semi-final semiconductor sending series server services set shared sharing shield ships shocked shoulders shrink shuffled shut shuts shutting sidebar simple sites sky sleeping slightly slow slowing smartblock smarter smartly social engineering hacking software. tech solutions somewhere soon sources space center space debris spacecraft spaceships specifications spectrum spend spending sponsors sports spying stable star starship start started starting starvation station steps stocks stolen stop stories strategy streaming strong student subject subscribers successful suffers suggested suggestions suitable suitcase supercomputer superintelligence surface surprised survive t are tag tagging talk teach team technlogy technoloy technonlogy telecommunication teleport tensions terminology terms text think those thousand thread threat to threats through throwaway tightens timer tinder tired toilet took tools topic tossing touch pad tracked tracker tracking trackpad trading transact transactions transport travel trending trends trip turn turned tweets unbuyable unemployed unemployment unfriending unimaginable unique unpleasant unregistered unsafe unseen until unveils upgrades versatility very view viewing virtual virtual currency virtual world vishing visit visiting voter washing waterproof weakening weapons web design websites week well went were wet what's wide willing withdrawn words works workspace world war world's worrie worried worth writer written wrong yield ‘Cloud AI’ ‘Hall of Fame’ ‘Hosts’ ‘JeffTube’ ‘Personal Intelligence’ ‘Wi-Fi Pineapple’ ‘Zoom Rides’ ‘viral’
Show more