How to train your own object detection models using the TensorFlow Object Detection API (2020 Update)
This started as a summary of this nice tutorial, but has since then become its own thing.
This started as a summary of this nice tutorial, but has since then become its own thing.
| 'use strict'; | |
| exports.handler = (event, context, callback) => { | |
| // Get request and request headers | |
| const request = event.Records[0].cf.request; | |
| const headers = request.headers; | |
| // Configure authentication | |
| const authUser = 'user'; | |
| const authPass = 'pass'; |
| sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder |
| ## Open GitKraken using the current repo directory. | |
| ## For when you want a prettier view of your current repo, | |
| ## but prefer staying in the cli for most things. | |
| ## This will break if GitKraken ever removes the -p flag. | |
| ## If you're not using OSX, the path is definitely different. | |
| kraken () { | |
| ~/Applications/GitKraken.app/Contents/MacOS/GitKraken -p $(pwd) | |
| } |
| postgres: | |
| image: postgres:9.4 | |
| volumes: | |
| - ./init.sql:/docker-entrypoint-initdb.d/init.sql |
| var mediaJSON = { "categories" : [ { "name" : "Movies", | |
| "videos" : [ | |
| { "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
| "subtitle" : "By Blender Foundation", | |
| "thumb" : "images/BigBuckBunny.jpg", | |
| "title" : "Big Buck Bunny" | |
| }, | |
| { "description" : "The first Blender Open Movie from 2006", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
| server { | |
| listen 80; | |
| server_name map.geekya.com; | |
| # I normally wouldn't disable the access log but here I see no problem with it | |
| access_log off; | |
| error_log /var/log/nginx/com.geekya.map.error.log; | |
| # custom error page when map isn't available | |
| error_page 502 503 504 =503 /503_map.html; |