pokemon / fo2hub.py
TheSteve0's picture
Files used to process dataset
aba0bad verified
raw
history blame contribute delete
248 Bytes
import os
import fiftyone as fo
from fiftyone.utils.huggingface import push_to_hub
import huggingface_hub
huggingface_hub.login("XXXXXXXXXXXXXX")
pokemon = fo.load_dataset("pokemon")
push_to_hub(pokemon, "pokemon", chunk_size=500, exist_ok=True)