Syoy's picture
Create run.py
35f9944
raw
history blame
390 Bytes
if __name__ == "__main__":
import dataset
from renumics import spotlight
dataset = datasets.load_dataset("renumics/cifar100-enriched", split="train")
df = dataset.to_pandas()
df_show = df.drop(columns=['embedding', 'probabilities'])
spotlight.show(df_show, port=7860, host="0.0.0.0", dtype={"image": spotlight.Image, "embedding_reduced": spotlight.Embedding})