diff --git a/colabs/convnext/Finetune_ConvNext_on_CIFAR10_using_W&B.ipynb b/colabs/convnext/Finetune_ConvNext_on_CIFAR10_using_W&B.ipynb index 478a028d..1c380b21 100644 --- a/colabs/convnext/Finetune_ConvNext_on_CIFAR10_using_W&B.ipynb +++ b/colabs/convnext/Finetune_ConvNext_on_CIFAR10_using_W&B.ipynb @@ -46,7 +46,7 @@ "metadata": {}, "outputs": [], "source": [ - "!git clone https://github.com/facebookresearch/ConvNeXt" + "!git clone --depth 1 https://github.com/facebookresearch/ConvNeXt" ] }, { @@ -80,7 +80,7 @@ "metadata": {}, "outputs": [], "source": [ - "!git clone https://github.com/YoongiKim/CIFAR-10-images" + "!git clone --depth 1 https://github.com/YoongiKim/CIFAR-10-images" ] }, { diff --git a/colabs/kaolin_wisp/VQAD.ipynb b/colabs/kaolin_wisp/VQAD.ipynb index e4e4b479..8835c973 100644 --- a/colabs/kaolin_wisp/VQAD.ipynb +++ b/colabs/kaolin_wisp/VQAD.ipynb @@ -42,7 +42,7 @@ "%cd ..\n", "\n", "# Install Kaolin-Wisp\n", - "!git clone https://github.com/NVIDIAGameWorks/kaolin-wisp\n", + "!git clone --depth 1 https://github.com/NVIDIAGameWorks/kaolin-wisp\n", "%cd kaolin-wisp\n", "!pip install -q -r requirements.txt\n", "!pip install -q --upgrade wandb\n", diff --git a/colabs/keras/keras_core/monai_medmnist_keras.ipynb b/colabs/keras/keras_core/monai_medmnist_keras.ipynb index 4a6db793..a5460ec9 100644 --- a/colabs/keras/keras_core/monai_medmnist_keras.ipynb +++ b/colabs/keras/keras_core/monai_medmnist_keras.ipynb @@ -57,7 +57,7 @@ "# install the `main` branch of KerasCore\n", "!pip install -qq namex\n", "!apt install python3.10-venv\n", - "!git clone https://github.com/soumik12345/keras-core.git && cd keras-core && python pip_build.py --install\n", + "!git clone --depth 1 https://github.com/soumik12345/keras-core.git && cd keras-core && python pip_build.py --install\n", "\n", "# install monai and wandb-addons\n", "!pip install -qq git+https://github.com/soumik12345/wandb-addons\n", diff --git a/colabs/keras/keras_core/timm_keras.ipynb b/colabs/keras/keras_core/timm_keras.ipynb index d83360a1..0650acc3 100644 --- a/colabs/keras/keras_core/timm_keras.ipynb +++ b/colabs/keras/keras_core/timm_keras.ipynb @@ -55,7 +55,7 @@ "# install the `main` branch of KerasCore\n", "!pip install -qq namex\n", "!apt install python3.10-venv\n", - "!git clone https://github.com/soumik12345/keras-core.git && cd keras-core && python pip_build.py --install\n", + "!git clone --depth 1 https://github.com/soumik12345/keras-core.git && cd keras-core && python pip_build.py --install\n", "\n", "# install timm and wandb-addons\n", "!pip install -qq git+https://github.com/soumik12345/wandb-addons" diff --git a/colabs/keras/keras_core/torchvision-keras.ipynb b/colabs/keras/keras_core/torchvision-keras.ipynb index 5e5e5779..4b3cc986 100644 --- a/colabs/keras/keras_core/torchvision-keras.ipynb +++ b/colabs/keras/keras_core/torchvision-keras.ipynb @@ -50,7 +50,7 @@ "# install the `main` branch of KerasCore\n", "!pip install -qq namex\n", "!apt install python3.10-venv\n", - "!git clone https://github.com/soumik12345/keras-core.git && cd keras-core && python pip_build.py --install\n", + "!git clone --depth 1 https://github.com/soumik12345/keras-core.git && cd keras-core && python pip_build.py --install\n", "\n", "# install wandb-addons\n", "!pip install -qq git+https://github.com/soumik12345/wandb-addons" diff --git a/colabs/paddlepaddle/paddledetection/PaddleDetection_and_W&B_Your_one_stop_for_everything_object_detection.ipynb b/colabs/paddlepaddle/paddledetection/PaddleDetection_and_W&B_Your_one_stop_for_everything_object_detection.ipynb index 8bb85c06..99e109b1 100644 --- a/colabs/paddlepaddle/paddledetection/PaddleDetection_and_W&B_Your_one_stop_for_everything_object_detection.ipynb +++ b/colabs/paddlepaddle/paddledetection/PaddleDetection_and_W&B_Your_one_stop_for_everything_object_detection.ipynb @@ -70,7 +70,7 @@ "outputs": [], "source": [ "%%shell\n", - "git clone https://github.com/PaddlePaddle/PaddleDetection\n", + "git clone --depth 1 https://github.com/PaddlePaddle/PaddleDetection\n", "python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html\n", "pip install pyclipper attrdict gdown -qqq\n", "cd PaddleDetection\n", diff --git a/colabs/paddlepaddle/paddleocr/Train_and_Debug_Your_OCR_Models_with_PaddleOCR_and_W&B.ipynb b/colabs/paddlepaddle/paddleocr/Train_and_Debug_Your_OCR_Models_with_PaddleOCR_and_W&B.ipynb index f3fef3e8..2f48592e 100644 --- a/colabs/paddlepaddle/paddleocr/Train_and_Debug_Your_OCR_Models_with_PaddleOCR_and_W&B.ipynb +++ b/colabs/paddlepaddle/paddleocr/Train_and_Debug_Your_OCR_Models_with_PaddleOCR_and_W&B.ipynb @@ -65,7 +65,7 @@ "outputs": [], "source": [ "\n", - "!git clone https://github.com/PaddlePaddle/PaddleOCR\n", + "!git clone --depth 1 https://github.com/PaddlePaddle/PaddleOCR\n", "!python -m pip install paddlepaddle-gpu==2.3.2.post112 -f https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html\n", "!pip install pyclipper attrdict opencv-python shapely scikit-image imgaug -qqq\n", "!cd PaddleOCR && pip install -r requirements.txt && pip install -e ." diff --git a/colabs/stylegan_nada/StyleGAN-NADA.ipynb b/colabs/stylegan_nada/StyleGAN-NADA.ipynb index 8db2c1a9..3555cee6 100644 --- a/colabs/stylegan_nada/StyleGAN-NADA.ipynb +++ b/colabs/stylegan_nada/StyleGAN-NADA.ipynb @@ -62,7 +62,7 @@ "metadata": {}, "outputs": [], "source": [ - "!git clone https://github.com/yuval-alaluf/restyle-encoder.git $restyle_dir\n", + "!git clone --depth 1 https://github.com/yuval-alaluf/restyle-encoder.git $restyle_dir\n", "\n", "!wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip\n", "!sudo unzip ninja-linux.zip -d /usr/local/bin/\n", @@ -71,8 +71,8 @@ "!pip install ftfy regex tqdm wandb\n", "!pip install git+https://github.com/openai/CLIP.git\n", "\n", - "!git clone https://github.com/NVlabs/stylegan2-ada/ $stylegan_ada_dir\n", - "!git clone https://github.com/rinongal/stylegan-nada.git $stylegan_nada_dir" + "!git clone --depth 1 https://github.com/NVlabs/stylegan2-ada/ $stylegan_ada_dir\n", + "!git clone --depth 1 https://github.com/rinongal/stylegan-nada.git $stylegan_nada_dir" ] }, { diff --git a/colabs/torchtune/torchtune_and_wandb.ipynb b/colabs/torchtune/torchtune_and_wandb.ipynb index 172fa685..cad9c0e3 100644 --- a/colabs/torchtune/torchtune_and_wandb.ipynb +++ b/colabs/torchtune/torchtune_and_wandb.ipynb @@ -45,7 +45,7 @@ "metadata": {}, "outputs": [], "source": [ - "!git clone https://github.com/pytorch/torchtune" + "!git clone --depth 1 https://github.com/pytorch/torchtune" ] }, { diff --git a/colabs/wandb-log/Log_(Almost)_Anything_with_W&B_Media.ipynb b/colabs/wandb-log/Log_(Almost)_Anything_with_W&B_Media.ipynb index b0df9a05..b8fcb352 100644 --- a/colabs/wandb-log/Log_(Almost)_Anything_with_W&B_Media.ipynb +++ b/colabs/wandb-log/Log_(Almost)_Anything_with_W&B_Media.ipynb @@ -56,7 +56,7 @@ "!pip install wandb -qq\n", "\n", "# Fetch audio, video and other data files to log\n", - "!git clone https://github.com/wandb/examples.git\n", + "!git clone --depth 1 https://github.com/wandb/examples.git\n", "!pip install soundfile -qq\n", "\n", "import warnings\n", diff --git a/colabs/wandb-log/Run_names_visualized_using_min_dalle.ipynb b/colabs/wandb-log/Run_names_visualized_using_min_dalle.ipynb index 072ea979..b434f559 100644 --- a/colabs/wandb-log/Run_names_visualized_using_min_dalle.ipynb +++ b/colabs/wandb-log/Run_names_visualized_using_min_dalle.ipynb @@ -35,7 +35,7 @@ "outputs": [], "source": [ "#@title Setup\n", - "! git clone https://github.com/kuprel/min-dalle\n", + "! git clone --depth 1 https://github.com/kuprel/min-dalle\n", "! git lfs install\n", "! git clone https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384 /content/min-dalle/pretrained/vqgan\n", "!pip install torch flax==0.4.2 wandb\n", diff --git a/colabs/yolo/Logging_YOLOv5_Experiments_with_W&B.ipynb b/colabs/yolo/Logging_YOLOv5_Experiments_with_W&B.ipynb index fd3e4387..2c2f9ffe 100644 --- a/colabs/yolo/Logging_YOLOv5_Experiments_with_W&B.ipynb +++ b/colabs/yolo/Logging_YOLOv5_Experiments_with_W&B.ipynb @@ -69,7 +69,7 @@ "metadata": {}, "outputs": [], "source": [ - "!git clone https://github.com/ultralytics/yolov5 # clone repo\n", + "!git clone --depth 1 https://github.com/ultralytics/yolov5 # clone repo\n", "%cd yolov5\n", "%pip install -qr requirements.txt # install dependencies\n", "\n", diff --git a/colabs/yolo/Train_YOLOv5_model_on_a_Custom_Dataset_with_Weights_&_Biases.ipynb b/colabs/yolo/Train_YOLOv5_model_on_a_Custom_Dataset_with_Weights_&_Biases.ipynb index 831c4d34..e77e642b 100644 --- a/colabs/yolo/Train_YOLOv5_model_on_a_Custom_Dataset_with_Weights_&_Biases.ipynb +++ b/colabs/yolo/Train_YOLOv5_model_on_a_Custom_Dataset_with_Weights_&_Biases.ipynb @@ -66,7 +66,7 @@ "outputs": [], "source": [ "%%capture\n", - "!git clone https://github.com/ultralytics/yolov5.git\n", + "!git clone --depth 1 https://github.com/ultralytics/yolov5.git\n", "%cd /content/yolov5\n", "!pip install -r requirements.txt\n", "!pip install wandb==0.12.10" diff --git a/colabs/yolo/Train_and_Debug_YOLOv5_Models_with_Weights_&_Biases_.ipynb b/colabs/yolo/Train_and_Debug_YOLOv5_Models_with_Weights_&_Biases_.ipynb index bf241f87..fbba11f1 100644 --- a/colabs/yolo/Train_and_Debug_YOLOv5_Models_with_Weights_&_Biases_.ipynb +++ b/colabs/yolo/Train_and_Debug_YOLOv5_Models_with_Weights_&_Biases_.ipynb @@ -77,7 +77,7 @@ "outputs": [], "source": [ "%%capture\n", - "!git clone https://github.com/ultralytics/yolov5.git\n", + "!git clone --depth 1 https://github.com/ultralytics/yolov5.git\n", "!curl -L \"https://public.roboflow.com/ds/1BpjFZe9ST?key=KXD7eDvwTa\" > roboflow.zip; unzip -o roboflow.zip; rm roboflow.zip\n", "%cd /content/yolov5\n", "!pip install -r requirements.txt\n", diff --git a/colabs/yolo/Wildfire_Smoke_Detection_with_YOLOv5,_Roboflow_and_Weights_&_Biases (1).ipynb b/colabs/yolo/Wildfire_Smoke_Detection_with_YOLOv5,_Roboflow_and_Weights_&_Biases (1).ipynb index 7eb2796d..cf0bd3f7 100644 --- a/colabs/yolo/Wildfire_Smoke_Detection_with_YOLOv5,_Roboflow_and_Weights_&_Biases (1).ipynb +++ b/colabs/yolo/Wildfire_Smoke_Detection_with_YOLOv5,_Roboflow_and_Weights_&_Biases (1).ipynb @@ -65,7 +65,7 @@ "outputs": [], "source": [ "%%capture\n", - "!git clone https://github.com/ultralytics/yolov5.git\n", + "!git clone --depth 1 https://github.com/ultralytics/yolov5.git\n", "!curl -L \"https://app.roboflow.com/ds/5F7B42TQI7?key=VhVxco4lnb\" > roboflow.zip; unzip roboflow.zip; rm roboflow.zip\n", "%cd /content/yolov5\n", "!pip install -r requirements.txt\n", diff --git a/colabs/yolox/Train_and_Debug_YOLOX_Models_with_Weights_&_Biases.ipynb b/colabs/yolox/Train_and_Debug_YOLOX_Models_with_Weights_&_Biases.ipynb index 4f9c3028..182ee391 100644 --- a/colabs/yolox/Train_and_Debug_YOLOX_Models_with_Weights_&_Biases.ipynb +++ b/colabs/yolox/Train_and_Debug_YOLOX_Models_with_Weights_&_Biases.ipynb @@ -75,7 +75,7 @@ "outputs": [], "source": [ "%%shell\n", - "git clone https://github.com/manangoel99/YOLOX\n", + "git clone --depth 1 https://github.com/manangoel99/YOLOX\n", "cd YOLOX\n", "git config --global user.name \"Manan Goel\"\n", "git config --global user.email \"manangoel1999@gmail.com\"\n",