huggingface / optimum-habana

Easy and lightning fast training of 🤗 Transformers on Habana Gaudi processor (HPU)
Apache License 2.0
148 stars 187 forks source link

Repo card metadata block was not found. Setting CardData to empty #491

Open sureshnam opened 11 months ago

sureshnam commented 11 months ago

System Info

optimum-habana          1.8.0
docker vault.habana.ai/gaudi-docker/1.12.0/ubuntu22.04/habanalabs/pytorch-installer-2.0.1:latest
Synapse Version 1.12.0-480 

https://github.com/huggingface/optimum-habana/tree/ee5e8fc39e78800eb3763d048192bef036fadc4c/examples/contrastive-image-text

The step in Readme fails with "Repo card metadata block was not found. Setting CardData to empty"
The dataset validation step, pasted below. 

import os
import datasets

COCO_DIR = os.path.join(os.getcwd(), "data")
ds = datasets.load_dataset("ydshieh/coco_dataset_script", "2017", data_dir=COCO_DIR)

Information

Tasks

Reproduction

Just launch the docker and follow the Readme steps, you see this issue.

Expected behavior

I assume dataset get loaded , Just see no response

regisss commented 11 months ago

Where have you downloaded the zip files? It's likely that they are not in a folder called data in the current directory.