Last active
November 20, 2022 17:33
-
-
Save appliedml42/90da9aaec00846da1809c9014e2a1dd6 to your computer and use it in GitHub Desktop.
Using QuickDraw Dataset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from am42_fsd.data.quickdraw import QuickDraw | |
from torch.utils.data import DataLoader | |
from tqdm.auto import tqdm | |
quickdraw = QuickDraw("path to numpy_bitmap folder") | |
dataloader = DataLoader(quickdraw, shuffle=True, batch_size=64, num_workers=4) | |
for images, cat_id in tqdm(dataloader): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment