Make data directories make more sense
This commit is contained in:
parent
7be4b8454d
commit
4f15c10111
|
@ -0,0 +1,4 @@
|
|||
*
|
||||
|
||||
!datasets
|
||||
!.gitignore
|
|
@ -0,0 +1,3 @@
|
|||
*
|
||||
|
||||
!.gitignore
|
|
@ -1,2 +1,2 @@
|
|||
YOLO_WEB_URL=http://localhost:3333
|
||||
YOLOv5=../yolo_train/
|
||||
DATASETS./datasets
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
set -e
|
||||
|
||||
mkdir -p data
|
||||
|
||||
touch data/queue.sqlite
|
||||
npm i
|
||||
|
||||
cat ./sql/setup.sql | sqlite3 data/queue.sqlite
|
||||
|
||||
bash ./scripts/build_web.sh
|
||||
bash ./scripts/build_web.sh
|
||||
|
|
|
@ -28,8 +28,8 @@ NAME=$(echo $JSON | jq -r '.name')
|
|||
FILEPATH=$(echo $JSON | jq -r '.path')
|
||||
|
||||
DOWNLOAD="${YOLO_WEB_URL}${FILEPATH}"
|
||||
DEST="${YOLOv5}${DATASET}.zip"
|
||||
UNZIPPED="${YOLOv5}${DATASET}"
|
||||
DEST="${DATASETS}/${DATASET}.zip"
|
||||
UNZIPPED="${DATASETS}/${DATASET}"
|
||||
|
||||
echo "Downloading ${DOWNLOAD}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue