glenn-jocher commited on
Commit
73a92dc
1 Parent(s): 9f3a388

Explicit `git clone` master (#3311)

Browse files
Files changed (1) hide show
  1. utils/aws/userdata.sh +1 -1
utils/aws/userdata.sh CHANGED
@@ -7,7 +7,7 @@
7
  cd home/ubuntu
8
  if [ ! -d yolov5 ]; then
9
  echo "Running first-time script." # install dependencies, download COCO, pull Docker
10
- git clone https://github.com/ultralytics/yolov5 && sudo chmod -R 777 yolov5
11
  cd yolov5
12
  bash data/scripts/get_coco.sh && echo "Data done." &
13
  sudo docker pull ultralytics/yolov5:latest && echo "Docker done." &
 
7
  cd home/ubuntu
8
  if [ ! -d yolov5 ]; then
9
  echo "Running first-time script." # install dependencies, download COCO, pull Docker
10
+ git clone https://github.com/ultralytics/yolov5 -b master && sudo chmod -R 777 yolov5
11
  cd yolov5
12
  bash data/scripts/get_coco.sh && echo "Data done." &
13
  sudo docker pull ultralytics/yolov5:latest && echo "Docker done." &