Learn practical skills, build real-world projects, and advance your career

Puppy or Cookie?

bing scraper

# Install Bing image downloader

!pip install bing-image-downloader
Collecting bing-image-downloader Downloading bing_image_downloader-1.0.2-py3-none-any.whl (4.6 kB) Installing collected packages: bing-image-downloader Successfully installed bing-image-downloader-1.0.2
# Imports

import os
import shutil
import torch
import torch.nn as nn
import torch.nn.functional as F
import torchvision.models as models
import matplotlib.pyplot as plt

from torchvision import datasets
from torchvision import transforms
from torchvision.utils import make_grid
from torch.utils.data import random_split
from torch.utils.data.dataloader import DataLoader
from tqdm.notebook import tqdm
from bing_image_downloader import downloader

donwload images