Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Add files via upload May 4, 2018
Affinity Propagation.ipynb Add files via upload May 4, 2018 Add files via upload May 4, 2018
find-similar-images.ipynb cleaned up May 8, 2018
install.R Update install.R May 8, 2018
requirements.txt Create requirements.txt May 8, 2018
runtime.txt Create runtime.txt May 8, 2018


You can launch this jupyter notebook in an executable environment by clicking on the button below.



It's based on Douglas Duhaime's tutorial identifying similar images with tensorflow which is very clearly laid out and explained. In this notebook, I've compressed the steps. The 'images' directory only has 25 images in it for demo purposes. In Duhaime's post, the images folder (that you grab with wget has about 2000 images in it).

UPDATE the requirements.txt file should list the python bits and pieces need to be installed, so that should save us from having to !pip install. There is a package called RPy2 that can be loaded this way, that then lets us do bits and bobs of R mixed in with python - see this post.

to get the R kernel so that I can have just an R notebook we need the runtime.txt file. Inside that, we have a single line that says r-2018-04-01 (where the date stamp comes from this).

to preload and R packages, put the name of the package in the install.R file in normal R syntax, like so: install.packages("ggplot2").

And there we have it! Sometimes the binder fails to launch. Just reload. Keep reloading.

You can’t perform that action at this time.