git clone https://github.com/Land-Maze/License_Reader_YoloV5
cd ./License_Reader_YoloV5
# If user doesn't have write permission use sudo
sh install.sh
How to install torch on Mac M1
Install brew and dependency
# Follow prompts if there will be
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install wget
# If xcode tools not installed
xcode-select --install
Install miniconda
# Create and download script for miniconda install
mkdir tmp ||echo"Can't create directory tmp. If directory exists, simply ignore"cd tmp
wget https://repo.anaconda.com/miniconda/Miniconda3-py39_4.12.0-MacOSX-arm64.sh -O miniconda.install.sh
# Checking of hash sumtest"$( shasum -a 256 miniconda.install.sh )"!= "4bd112168cc33f8a4a60d3ef7e72b52a85972d588cd065be803eb21d73b625ef miniconda.install.sh"if(($?==1))thenecho"Checksum is OK"elseecho"Checksum is BAD. Exiting"returnfi# Install proccess# It may ask for agreement
sh miniconda.install.sh -p $HOME/miniconda