File size: 377 Bytes
e919aa3
 
bbaa3e0
 
e919aa3
bbaa3e0
e919aa3
 
 
 
 
 
 
 
bbaa3e0
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

PY=python3

echo "🏛 fetching entities"
${PY} ./python/get_entities.py
echo "🌏 getting vendor data"
${PY} ./python/vendor.py --parallel $(cat /proc/cpuinfo | grep processor | wc -l)
echo "✨ augmenting data"
${PY} ./python/augment.py
echo "🖼 croping augmented data"
${PY} ./python/crop.py ./data/augmented/images
echo "🧠 train model"
sh train.sh