宇宙最大的手绘草图数据集——QuickDraw 解析下载使用训练可视化(附完整代码)

Posted 沉迷单车的追风少年

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了宇宙最大的手绘草图数据集——QuickDraw 解析下载使用训练可视化(附完整代码)相关的知识,希望对你有一定的参考价值。

前言:深度学习的世界里,怎能少得了Google的身影?2017年Google提出的sketch-rnn横空出世,是学习基于深度学习的手绘草图必知必会的经典模型,其中提出的QuickDraw数据集包含了超过五千万幅手绘草图,是目前最大的手绘草图数据集。本文围绕SketchRNN中提出的QuickDraw,重点讲解如何在自己的深度学习项目中使用QuickDraw,如何下载QuickDraw,如何解析QuickDraw数据集,如何可视化QuickDraw数据集。

目录

QuickDraw简介

QuickDraw加载

QuickDraw可视化

完整实战代码:加载数据集,并可视化数据集

QuickDraw下载


QuickDraw简介

Quick Draw 数据集是一个包含 345 个类别的 5000 万幅手绘草图的集合,由游戏 Quick, Draw!的玩家贡献。 这些绘图被捕获为带时间戳的矢量,并用元数据标记,包括要求玩家绘制的内容以及玩家所在的国家/地区。 可以去官网体验一下最终的手绘效果,非常有趣!

官网地址https://quickdraw.withgoogle.com/

QuickDraw加载

我封装了一个class,在下载完QuickDraw之后,dataPath中填写下载的数据集地址即可。

class SketchData(object):
    def __init__(self, dataPath, model="train"):
        self.dataPath = dataPath
        self.model = model

    # 加载数据
    def load(self):
        dataset_origin_list = []
        category_list = self.getCategory()
        for each_name in category_list:
            # npz_test = np.load(f"./{self.dataPath}/{each_name}", encoding="latin1", allow_pickle=True)["test"]
            npz_tmp = np.load(f"./{self.dataPath}/{each_name}", encoding="latin1", allow_pickle=True)[self.model]
            print(f"dataset: {each_name} added.")
            dataset_origin_list.append(npz_tmp)
        return dataset_origin_list

    # 获取类别列表
    def getCategory(self):
        category_list = os.listdir(self.dataPath)
        return category_list

QuickDraw可视化

我同样封装了一个class,使用的时候直接实例化即可。

class DrawSketch(object):
    def __init__(self):
        pass

    def scale_sketch(self, sketch, size=(448, 448)):
        [_, _, h, w] = self.canvas_size_google(sketch)
        if h >= w:
            sketch_normalize = sketch / np.array([[h, h, 1]], dtype=np.float)
        else:
            sketch_normalize = sketch / np.array([[w, w, 1]], dtype=np.float)
        sketch_rescale = sketch_normalize * np.array([[size[0], size[1], 1]], dtype=np.float)
        return sketch_rescale.astype("int16")

    def canvas_size_google(self, sketch):
        """
        :param sketch: google sketch, quickDraw
        :return: int list,[x, y, h, w]
        """
        # get canvas size

        vertical_sum = np.cumsum(sketch[1:], axis=0)
        xmin, ymin, _ = np.min(vertical_sum, axis=0)
        xmax, ymax, _ = np.max(vertical_sum, axis=0)
        w = xmax - xmin
        h = ymax - ymin
        start_x = -xmin - sketch[0][0]
        start_y = -ymin - sketch[0][1]
        # sketch[0] = sketch[0] - sketch[0]
        return [int(start_x), int(start_y), int(h), int(w)]

    def draw_three(self, sketch, random_color=False, show=False, img_size=512):
        """
        :param sketches: google quickDraw, (n, 3)
        :param thickness: pass
        :return: None
        """
        # print("three ")
        # print(sketch)
        # print("-" * 70)
        thickness = int(img_size * 0.025)

        sketch = self.scale_sketch(sketch, (img_size, img_size))  # scale the sketch.
        [start_x, start_y, h, w] = self.canvas_size_google(sketch=sketch)
        start_x += thickness + 1
        start_y += thickness + 1
        canvas = np.ones((max(h, w) + 3 * (thickness + 1), max(h, w) + 3 * (thickness + 1), 3), dtype='uint8') * 255
        if random_color:
            color = (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
        else:
            color = (0, 0, 0)
        pen_now = np.array([start_x, start_y])
        first_zero = False
        for stroke in sketch:
            delta_x_y = stroke[0:0 + 2]
            state = stroke[2:]
            if first_zero:
                pen_now += delta_x_y
                first_zero = False
                continue
            cv2.line(canvas, tuple(pen_now), tuple(pen_now + delta_x_y), color, thickness=thickness)
            if int(state) == 1:  # next stroke
                first_zero = True
                if random_color:
                    color = (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
                else:
                    color = (0, 0, 0)
            pen_now += delta_x_y
        if show:
            key = cv2.waitKeyEx()
            if key == 27:  # esc
                cv2.destroyAllWindows()
                exit(0)
        return cv2.resize(canvas, (img_size, img_size))

完整实战代码:加载数据集,并可视化数据集

注意把路径换成自己的

import cv2
import os
from PIL import Image
import matplotlib
from matplotlib.pyplot import imshow
import matplotlib.pyplot as plt
# from sketch_processing import draw_three
import numpy as np
import random


class DrawSketch(object):
    def __init__(self):
        pass

    def scale_sketch(self, sketch, size=(448, 448)):
        [_, _, h, w] = self.canvas_size_google(sketch)
        if h >= w:
            sketch_normalize = sketch / np.array([[h, h, 1]], dtype=np.float)
        else:
            sketch_normalize = sketch / np.array([[w, w, 1]], dtype=np.float)
        sketch_rescale = sketch_normalize * np.array([[size[0], size[1], 1]], dtype=np.float)
        return sketch_rescale.astype("int16")

    def canvas_size_google(self, sketch):
        """
        :param sketch: google sketch, quickDraw
        :return: int list,[x, y, h, w]
        """
        # get canvas size

        vertical_sum = np.cumsum(sketch[1:], axis=0)
        xmin, ymin, _ = np.min(vertical_sum, axis=0)
        xmax, ymax, _ = np.max(vertical_sum, axis=0)
        w = xmax - xmin
        h = ymax - ymin
        start_x = -xmin - sketch[0][0]
        start_y = -ymin - sketch[0][1]
        # sketch[0] = sketch[0] - sketch[0]
        return [int(start_x), int(start_y), int(h), int(w)]

    def draw_three(self, sketch, random_color=False, show=False, img_size=512):
        """
        :param sketches: google quickDraw, (n, 3)
        :param thickness: pass
        :return: None
        """
        # print("three ")
        # print(sketch)
        # print("-" * 70)
        thickness = int(img_size * 0.025)

        sketch = self.scale_sketch(sketch, (img_size, img_size))  # scale the sketch.
        [start_x, start_y, h, w] = self.canvas_size_google(sketch=sketch)
        start_x += thickness + 1
        start_y += thickness + 1
        canvas = np.ones((max(h, w) + 3 * (thickness + 1), max(h, w) + 3 * (thickness + 1), 3), dtype='uint8') * 255
        if random_color:
            color = (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
        else:
            color = (0, 0, 0)
        pen_now = np.array([start_x, start_y])
        first_zero = False
        for stroke in sketch:
            delta_x_y = stroke[0:0 + 2]
            state = stroke[2:]
            if first_zero:
                pen_now += delta_x_y
                first_zero = False
                continue
            cv2.line(canvas, tuple(pen_now), tuple(pen_now + delta_x_y), color, thickness=thickness)
            if int(state) == 1:  # next stroke
                first_zero = True
                if random_color:
                    color = (random.randint(0, 255), random.randint(0, 255), random.randint(0, 255))
                else:
                    color = (0, 0, 0)
            pen_now += delta_x_y
        if show:
            key = cv2.waitKeyEx()
            if key == 27:  # esc
                cv2.destroyAllWindows()
                exit(0)
        return cv2.resize(canvas, (img_size, img_size))


class SketchData(object):
    def __init__(self, dataPath, model="train"):
        self.dataPath = dataPath
        self.model = model

    # 加载数据
    def load(self):
        dataset_origin_list = []
        category_list = self.getCategory()
        for each_name in category_list:
            # npz_test = np.load(f"./{self.dataPath}/{each_name}", encoding="latin1", allow_pickle=True)["test"]
            npz_tmp = np.load(f"./{self.dataPath}/{each_name}", encoding="latin1", allow_pickle=True)[self.model]
            print(f"dataset: {each_name} added.")
            dataset_origin_list.append(npz_tmp)
        return dataset_origin_list

    # 获取类别列表
    def getCategory(self):
        category_list = os.listdir(self.dataPath)
        return category_list


if __name__ == '__main__':
    sketchdata = SketchData(dataPath='./dataset_npz')
    category_list = sketchdata.getCategory()
    dataset_origin_list = sketchdata.load()
    # 作图
    for category_index in range(len(category_list)):
        sample_category_name = category_list[category_index]
        print(sample_category_name)
        save_name = sample_category_name.replace(".npz", "")
        # 创建文件夹
        folder = os.path.exists(f"./save_img/{save_name}/")
        if not folder:
            os.makedirs(f"./save_img/{save_name}/")
            print(f"./save_img/{save_name}/ is new mkdir!")
        drawsketch = DrawSketch()
        # 作图
        for image_index in range(10):
            # sample_sketch = dataset_origin_list[sample_category_name.index(sample_category_name)][index]
            sample_sketch = dataset_origin_list[category_list.index(sample_category_name)][image_index]
            sketch_cv = drawsketch.draw_three(sample_sketch, True)
            plt.xticks([])  # 去掉x轴
            plt.yticks([])  # 去掉y轴
            plt.axis('off')  # 去掉坐标轴
            plt.imshow(sketch_cv)
            plt.savefig(f"./save_img/{save_name}/{image_index}.jpg")
            print(f"{save_name}/{image_index}.jpg is saved!")

QuickDraw下载

首先需要在自己环境里按住那个gsutil,然后执行:

gsutil -m cp \\
  "gs://quickdraw_dataset/sketchrnn/bus.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/bus.npz" \\
  "gs://quickdraw_dataset/sketchrnn/bush.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/bush.npz" \\
  "gs://quickdraw_dataset/sketchrnn/butterfly.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/butterfly.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cactus.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cactus.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cake.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cake.npz" \\
  "gs://quickdraw_dataset/sketchrnn/calculator.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/calculator.npz" \\
  "gs://quickdraw_dataset/sketchrnn/calendar.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/calendar.npz" \\
  "gs://quickdraw_dataset/sketchrnn/camel.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/camel.npz" \\
  "gs://quickdraw_dataset/sketchrnn/camera.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/camera.npz" \\
  "gs://quickdraw_dataset/sketchrnn/camouflage.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/camouflage.npz" \\
  "gs://quickdraw_dataset/sketchrnn/campfire.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/campfire.npz" \\
  "gs://quickdraw_dataset/sketchrnn/candle.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/candle.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cannon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cannon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/canoe.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/canoe.npz" \\
  "gs://quickdraw_dataset/sketchrnn/car.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/car.npz" \\
  "gs://quickdraw_dataset/sketchrnn/carrot.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/carrot.npz" \\
  "gs://quickdraw_dataset/sketchrnn/castle.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/castle.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cat.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cat.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ceiling\\ fan.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ceiling\\ fan.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cell\\ phone.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cell\\ phone.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cello.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cello.npz" \\
  "gs://quickdraw_dataset/sketchrnn/chair.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/chair.npz" \\
  "gs://quickdraw_dataset/sketchrnn/chandelier.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/chandelier.npz" \\
  "gs://quickdraw_dataset/sketchrnn/church.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/church.npz" \\
  "gs://quickdraw_dataset/sketchrnn/circle.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/circle.npz" \\
  "gs://quickdraw_dataset/sketchrnn/clarinet.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/clarinet.npz" \\
  "gs://quickdraw_dataset/sketchrnn/clock.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/clock.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cloud.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cloud.npz" \\
  "gs://quickdraw_dataset/sketchrnn/coffee\\ cup.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/coffee\\ cup.npz" \\
  "gs://quickdraw_dataset/sketchrnn/compass.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/compass.npz" \\
  "gs://quickdraw_dataset/sketchrnn/computer.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/computer.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cookie.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cookie.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cooler.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cooler.npz" \\
  "gs://quickdraw_dataset/sketchrnn/couch.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/couch.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cow.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cow.npz" \\
  "gs://quickdraw_dataset/sketchrnn/crab.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/crab.npz" \\
  "gs://quickdraw_dataset/sketchrnn/crayon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/crayon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/crocodile.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/crocodile.npz" \\
  "gs://quickdraw_dataset/sketchrnn/crown.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/crown.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cruise\\ ship.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cruise\\ ship.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cup.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/cup.npz" \\
  "gs://quickdraw_dataset/sketchrnn/diamond.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/diamond.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dishwasher.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dishwasher.npz" \\
  "gs://quickdraw_dataset/sketchrnn/diving\\ board.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/diving\\ board.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dog.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dog.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dolphin.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dolphin.npz" \\
  "gs://quickdraw_dataset/sketchrnn/donut.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/donut.npz" \\
  "gs://quickdraw_dataset/sketchrnn/door.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/door.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dragon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dragon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dresser.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dresser.npz" \\
  .
gsutil -m cp \\
  "gs://quickdraw_dataset/sketchrnn/drill.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/drill.npz" \\
  "gs://quickdraw_dataset/sketchrnn/drums.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/drums.npz" \\
  "gs://quickdraw_dataset/sketchrnn/duck.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/duck.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dumbbell.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/dumbbell.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ear.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ear.npz" \\
  "gs://quickdraw_dataset/sketchrnn/elbow.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/elbow.npz" \\
  "gs://quickdraw_dataset/sketchrnn/elephant.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/elephant.npz" \\
  "gs://quickdraw_dataset/sketchrnn/envelope.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/envelope.npz" \\
  "gs://quickdraw_dataset/sketchrnn/eraser.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/eraser.npz" \\
  "gs://quickdraw_dataset/sketchrnn/eye.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/eye.npz" \\
  "gs://quickdraw_dataset/sketchrnn/eyeglasses.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/eyeglasses.npz" \\
  "gs://quickdraw_dataset/sketchrnn/face.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/face.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fan.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fan.npz" \\
  "gs://quickdraw_dataset/sketchrnn/feather.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/feather.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fence.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fence.npz" \\
  "gs://quickdraw_dataset/sketchrnn/finger.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/finger.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fire\\ hydrant.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fire\\ hydrant.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fireplace.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fireplace.npz" \\
  "gs://quickdraw_dataset/sketchrnn/firetruck.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/firetruck.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fish.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fish.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flamingo.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flamingo.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flashlight.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flashlight.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flip\\ flops.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flip\\ flops.npz" \\
  "gs://quickdraw_dataset/sketchrnn/floor\\ lamp.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/floor\\ lamp.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flower.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flower.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flying\\ saucer.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/flying\\ saucer.npz" \\
  "gs://quickdraw_dataset/sketchrnn/foot.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/foot.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fork.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/fork.npz" \\
  "gs://quickdraw_dataset/sketchrnn/frog.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/frog.npz" \\
  "gs://quickdraw_dataset/sketchrnn/frying\\ pan.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/frying\\ pan.npz" \\
  "gs://quickdraw_dataset/sketchrnn/garden\\ hose.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/garden\\ hose.npz" \\
  "gs://quickdraw_dataset/sketchrnn/garden.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/garden.npz" \\
  "gs://quickdraw_dataset/sketchrnn/giraffe.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/giraffe.npz" \\
  "gs://quickdraw_dataset/sketchrnn/goatee.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/goatee.npz" \\
  "gs://quickdraw_dataset/sketchrnn/golf\\ club.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/golf\\ club.npz" \\
  "gs://quickdraw_dataset/sketchrnn/grapes.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/grapes.npz" \\
  "gs://quickdraw_dataset/sketchrnn/grass.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/grass.npz" \\
  "gs://quickdraw_dataset/sketchrnn/guitar.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/guitar.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hamburger.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hamburger.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hammer.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hammer.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hand.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hand.npz" \\
  "gs://quickdraw_dataset/sketchrnn/harp.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/harp.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hat.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hat.npz" \\
  "gs://quickdraw_dataset/sketchrnn/headphones.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/headphones.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hedgehog.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hedgehog.npz" \\
  "gs://quickdraw_dataset/sketchrnn/helicopter.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/helicopter.npz" \\
  "gs://quickdraw_dataset/sketchrnn/helmet.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/helmet.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hexagon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hexagon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hockey\\ puck.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hockey\\ puck.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hockey\\ stick.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hockey\\ stick.npz" \\
  .
gsutil -m cp \\
  "gs://quickdraw_dataset/sketchrnn/horse.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/horse.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hospital.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hospital.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hot\\ air\\ balloon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hot\\ air\\ balloon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hot\\ dog.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hot\\ dog.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hot\\ tub.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hot\\ tub.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hourglass.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hourglass.npz" \\
  "gs://quickdraw_dataset/sketchrnn/house\\ plant.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/house\\ plant.npz" \\
  "gs://quickdraw_dataset/sketchrnn/house.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/house.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hurricane.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/hurricane.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ice\\ cream.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ice\\ cream.npz" \\
  "gs://quickdraw_dataset/sketchrnn/jacket.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/jacket.npz" \\
  "gs://quickdraw_dataset/sketchrnn/jail.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/jail.npz" \\
  "gs://quickdraw_dataset/sketchrnn/kangaroo.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/kangaroo.npz" \\
  "gs://quickdraw_dataset/sketchrnn/key.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/key.npz" \\
  "gs://quickdraw_dataset/sketchrnn/keyboard.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/keyboard.npz" \\
  "gs://quickdraw_dataset/sketchrnn/knee.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/knee.npz" \\
  "gs://quickdraw_dataset/sketchrnn/knife.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/knife.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ladder.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ladder.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lantern.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lantern.npz" \\
  "gs://quickdraw_dataset/sketchrnn/laptop.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/laptop.npz" \\
  "gs://quickdraw_dataset/sketchrnn/leaf.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/leaf.npz" \\
  "gs://quickdraw_dataset/sketchrnn/leg.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/leg.npz" \\
  "gs://quickdraw_dataset/sketchrnn/light\\ bulb.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/light\\ bulb.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lighter.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lighter.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lighthouse.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lighthouse.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lightning.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lightning.npz" \\
  "gs://quickdraw_dataset/sketchrnn/line.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/line.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lion.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lion.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lipstick.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lipstick.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lobster.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lobster.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lollipop.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/lollipop.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mailbox.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mailbox.npz" \\
  "gs://quickdraw_dataset/sketchrnn/map.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/map.npz" \\
  "gs://quickdraw_dataset/sketchrnn/marker.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/marker.npz" \\
  "gs://quickdraw_dataset/sketchrnn/matches.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/matches.npz" \\
  "gs://quickdraw_dataset/sketchrnn/megaphone.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/megaphone.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mermaid.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mermaid.npz" \\
  "gs://quickdraw_dataset/sketchrnn/microphone.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/microphone.npz" \\
  "gs://quickdraw_dataset/sketchrnn/microwave.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/microwave.npz" \\
  "gs://quickdraw_dataset/sketchrnn/monkey.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/monkey.npz" \\
  "gs://quickdraw_dataset/sketchrnn/moon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/moon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mosquito.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mosquito.npz" \\
  "gs://quickdraw_dataset/sketchrnn/motorbike.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/motorbike.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mountain.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mountain.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mouse.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mouse.npz" \\
  "gs://quickdraw_dataset/sketchrnn/moustache.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/moustache.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mouth.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mouth.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mug.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mug.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mushroom.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/mushroom.npz" \\
  "gs://quickdraw_dataset/sketchrnn/nail.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/nail.npz" \\
  .
gsutil -m cp \\
  "gs://quickdraw_dataset/sketchrnn/necklace.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/necklace.npz" \\
  "gs://quickdraw_dataset/sketchrnn/nose.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/nose.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ocean.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/ocean.npz" \\
  "gs://quickdraw_dataset/sketchrnn/octagon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/octagon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/octopus.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/octopus.npz" \\
  "gs://quickdraw_dataset/sketchrnn/onion.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/onion.npz" \\
  "gs://quickdraw_dataset/sketchrnn/oven.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/oven.npz" \\
  "gs://quickdraw_dataset/sketchrnn/owl.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/owl.npz" \\
  "gs://quickdraw_dataset/sketchrnn/paint\\ can.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/paint\\ can.npz" \\
  "gs://quickdraw_dataset/sketchrnn/paintbrush.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/paintbrush.npz" \\
  "gs://quickdraw_dataset/sketchrnn/palm\\ tree.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/palm\\ tree.npz" \\
  "gs://quickdraw_dataset/sketchrnn/panda.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/panda.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pants.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pants.npz" \\
  "gs://quickdraw_dataset/sketchrnn/paper\\ clip.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/paper\\ clip.npz" \\
  "gs://quickdraw_dataset/sketchrnn/parachute.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/parachute.npz" \\
  "gs://quickdraw_dataset/sketchrnn/parrot.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/parrot.npz" \\
  "gs://quickdraw_dataset/sketchrnn/passport.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/passport.npz" \\
  "gs://quickdraw_dataset/sketchrnn/peanut.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/peanut.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pear.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pear.npz" \\
  "gs://quickdraw_dataset/sketchrnn/peas.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/peas.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pencil.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pencil.npz" \\
  "gs://quickdraw_dataset/sketchrnn/penguin.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/penguin.npz" \\
  "gs://quickdraw_dataset/sketchrnn/piano.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/piano.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pickup\\ truck.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pickup\\ truck.npz" \\
  "gs://quickdraw_dataset/sketchrnn/picture\\ frame.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/picture\\ frame.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pig.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pig.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pillow.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pillow.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pineapple.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pineapple.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pizza.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pizza.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pliers.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pliers.npz" \\
  "gs://quickdraw_dataset/sketchrnn/police\\ car.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/police\\ car.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pond.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pond.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pool.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/pool.npz" \\
  "gs://quickdraw_dataset/sketchrnn/popsicle.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/popsicle.npz" \\
  "gs://quickdraw_dataset/sketchrnn/postcard.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/postcard.npz" \\
  "gs://quickdraw_dataset/sketchrnn/potato.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/potato.npz" \\
  "gs://quickdraw_dataset/sketchrnn/power\\ outlet.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/power\\ outlet.npz" \\
  "gs://quickdraw_dataset/sketchrnn/purse.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/purse.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rabbit.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rabbit.npz" \\
  "gs://quickdraw_dataset/sketchrnn/raccoon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/raccoon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/radio.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/radio.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rain.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rain.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rainbow.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rainbow.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rake.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rake.npz" \\
  "gs://quickdraw_dataset/sketchrnn/remote\\ control.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/remote\\ control.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rhinoceros.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rhinoceros.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rifle.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rifle.npz" \\
  "gs://quickdraw_dataset/sketchrnn/river.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/river.npz" \\
  "gs://quickdraw_dataset/sketchrnn/roller\\ coaster.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/roller\\ coaster.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rollerskates.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/rollerskates.npz" \\
  .
gsutil -m cp \\
  "gs://quickdraw_dataset/sketchrnn/sailboat.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sailboat.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sandwich.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sandwich.npz" \\
  "gs://quickdraw_dataset/sketchrnn/saw.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/saw.npz" \\
  "gs://quickdraw_dataset/sketchrnn/saxophone.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/saxophone.npz" \\
  "gs://quickdraw_dataset/sketchrnn/school\\ bus.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/school\\ bus.npz" \\
  "gs://quickdraw_dataset/sketchrnn/scissors.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/scissors.npz" \\
  "gs://quickdraw_dataset/sketchrnn/scorpion.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/scorpion.npz" \\
  "gs://quickdraw_dataset/sketchrnn/screwdriver.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/screwdriver.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sea\\ turtle.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sea\\ turtle.npz" \\
  "gs://quickdraw_dataset/sketchrnn/see\\ saw.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/see\\ saw.npz" \\
  "gs://quickdraw_dataset/sketchrnn/shark.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/shark.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sheep.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sheep.npz" \\
  "gs://quickdraw_dataset/sketchrnn/shoe.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/shoe.npz" \\
  "gs://quickdraw_dataset/sketchrnn/shorts.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/shorts.npz" \\
  "gs://quickdraw_dataset/sketchrnn/shovel.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/shovel.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sink.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sink.npz" \\
  "gs://quickdraw_dataset/sketchrnn/skateboard.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/skateboard.npz" \\
  "gs://quickdraw_dataset/sketchrnn/skull.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/skull.npz" \\
  "gs://quickdraw_dataset/sketchrnn/skyscraper.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/skyscraper.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sleeping\\ bag.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sleeping\\ bag.npz" \\
  "gs://quickdraw_dataset/sketchrnn/smiley\\ face.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/smiley\\ face.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snail.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snail.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snake.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snake.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snorkel.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snorkel.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snowflake.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snowflake.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snowman.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/snowman.npz" \\
  "gs://quickdraw_dataset/sketchrnn/soccer\\ ball.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/soccer\\ ball.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sock.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sock.npz" \\
  "gs://quickdraw_dataset/sketchrnn/speedboat.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/speedboat.npz" \\
  "gs://quickdraw_dataset/sketchrnn/spider.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/spider.npz" \\
  "gs://quickdraw_dataset/sketchrnn/spoon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/spoon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/spreadsheet.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/spreadsheet.npz" \\
  "gs://quickdraw_dataset/sketchrnn/square.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/square.npz" \\
  "gs://quickdraw_dataset/sketchrnn/squiggle.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/squiggle.npz" \\
  "gs://quickdraw_dataset/sketchrnn/squirrel.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/squirrel.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stairs.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stairs.npz" \\
  "gs://quickdraw_dataset/sketchrnn/star.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/star.npz" \\
  "gs://quickdraw_dataset/sketchrnn/steak.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/steak.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stereo.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stereo.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stethoscope.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stethoscope.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stitches.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stitches.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stop\\ sign.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stop\\ sign.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stove.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/stove.npz" \\
  "gs://quickdraw_dataset/sketchrnn/strawberry.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/strawberry.npz" \\
  "gs://quickdraw_dataset/sketchrnn/streetlight.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/streetlight.npz" \\
  "gs://quickdraw_dataset/sketchrnn/string\\ bean.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/string\\ bean.npz" \\
  "gs://quickdraw_dataset/sketchrnn/submarine.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/submarine.npz" \\
  "gs://quickdraw_dataset/sketchrnn/suitcase.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/suitcase.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sun.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sun.npz" \\
  "gs://quickdraw_dataset/sketchrnn/swan.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/swan.npz" \\
  .
gsutil -m cp \\
  "gs://quickdraw_dataset/sketchrnn/sweater.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sweater.npz" \\
  "gs://quickdraw_dataset/sketchrnn/swing\\ set.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/swing\\ set.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sword.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/sword.npz" \\
  "gs://quickdraw_dataset/sketchrnn/syringe.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/syringe.npz" \\
  "gs://quickdraw_dataset/sketchrnn/t-shirt.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/t-shirt.npz" \\
  "gs://quickdraw_dataset/sketchrnn/table.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/table.npz" \\
  "gs://quickdraw_dataset/sketchrnn/teapot.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/teapot.npz" \\
  "gs://quickdraw_dataset/sketchrnn/teddy-bear.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/teddy-bear.npz" \\
  "gs://quickdraw_dataset/sketchrnn/telephone.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/telephone.npz" \\
  "gs://quickdraw_dataset/sketchrnn/television.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/television.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tennis\\ racquet.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tennis\\ racquet.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tent.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tent.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tiger.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tiger.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toaster.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toaster.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toe.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toe.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toilet.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toilet.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tooth.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tooth.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toothbrush.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toothbrush.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toothpaste.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/toothpaste.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tornado.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tornado.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tractor.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tractor.npz" \\
  "gs://quickdraw_dataset/sketchrnn/traffic\\ light.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/traffic\\ light.npz" \\
  "gs://quickdraw_dataset/sketchrnn/train.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/train.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tree.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/tree.npz" \\
  "gs://quickdraw_dataset/sketchrnn/triangle.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/triangle.npz" \\
  "gs://quickdraw_dataset/sketchrnn/trombone.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/trombone.npz" \\
  "gs://quickdraw_dataset/sketchrnn/truck.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/truck.npz" \\
  "gs://quickdraw_dataset/sketchrnn/trumpet.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/trumpet.npz" \\
  "gs://quickdraw_dataset/sketchrnn/umbrella.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/umbrella.npz" \\
  "gs://quickdraw_dataset/sketchrnn/underwear.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/underwear.npz" \\
  "gs://quickdraw_dataset/sketchrnn/van.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/van.npz" \\
  "gs://quickdraw_dataset/sketchrnn/vase.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/vase.npz" \\
  "gs://quickdraw_dataset/sketchrnn/violin.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/violin.npz" \\
  "gs://quickdraw_dataset/sketchrnn/washing\\ machine.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/washing\\ machine.npz" \\
  "gs://quickdraw_dataset/sketchrnn/watermelon.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/watermelon.npz" \\
  "gs://quickdraw_dataset/sketchrnn/waterslide.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/waterslide.npz" \\
  "gs://quickdraw_dataset/sketchrnn/whale.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/whale.npz" \\
  "gs://quickdraw_dataset/sketchrnn/wheel.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/wheel.npz" \\
  "gs://quickdraw_dataset/sketchrnn/windmill.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/windmill.npz" \\
  "gs://quickdraw_dataset/sketchrnn/wine\\ bottle.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/wine\\ bottle.npz" \\
  "gs://quickdraw_dataset/sketchrnn/wine\\ glass.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/wine\\ glass.npz" \\
  "gs://quickdraw_dataset/sketchrnn/wristwatch.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/wristwatch.npz" \\
  "gs://quickdraw_dataset/sketchrnn/yoga.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/yoga.npz" \\
  "gs://quickdraw_dataset/sketchrnn/zebra.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/zebra.npz" \\
  "gs://quickdraw_dataset/sketchrnn/zigzag.full.npz" \\
  "gs://quickdraw_dataset/sketchrnn/zigzag.npz" \\
  .

以上是关于宇宙最大的手绘草图数据集——QuickDraw 解析下载使用训练可视化(附完整代码)的主要内容,如果未能解决你的问题,请参考以下文章

交互式可编辑草图数据集DIDI dataset: Digital Ink Diagram data

世界最大的sketch数据集:多进程&&多线程生成数据集实战

CVPR2020论文解读:手绘草图卷积网络语义分割

基于深度学习的手绘草图三维重建

“0”代码时代——基于华为云ModelArts识别手绘草图

Sketch | Sketchover系列手绘教程:1-8全集