This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Version TF record saved on s3 | |
dvc_track_files() { | |
git init | |
#initialise dvc in a git directory | |
dvc init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was gotten from https://www.learnopencv.com/install-opencv-4-on-ubuntu-18-04/ | |
# Create your working directory | |
mkdir project && cd project | |
#Visit to follow the article | |
Change CMAKE_INSTALL_PREFIX=$cwd/installation/OpenCV-"$cvVersion" \ to CMAKE_INSTALL_PREFIX=/usr/local \. and | |
OPENCV_PYTHON3_INSTALL_PATH=$cwd/OpenCV-$cvVersion-py3/lib/python3.5/site-packages \ to the right directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This was taken from this repo https://github.com/FloopCZ/tensorflow_cc | |
#Download and install requirement | |
sudo apt-get install cmake curl g++-7 git python3-dev python3-numpy sudo wget | |
# Install Bazel | |
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add - | |
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
import os | |
import wget | |
#adapted from https://gist.github.com/genekogan/ebd77196e4bf0705db51f86431099e57 | |
#input your search item here | |
searchterm = 'Tomato' | |
url = "https://www.google.co.in/search?q="+searchterm+"&source=lnms&tbm=isch" |