Datasets:
Tasks:
Image Classification
Modalities:
Image
Formats:
imagefolder
Languages:
English
Size:
10K - 100K
ArXiv:
License:
Update README.md
Browse files
README.md
CHANGED
@@ -51,14 +51,15 @@ MUFAC/
|
|
51 |
|
52 |
---
|
53 |
## 🔹 How to Use
|
|
|
|
|
54 |
```python
|
55 |
-
# Method 1: Git Clone (Recommended)
|
56 |
git lfs install
|
57 |
git clone https://huggingface.co/datasets/Dasool/MUFAC
|
58 |
cd MUFAC
|
59 |
```
|
60 |
|
61 |
-
|
62 |
```
|
63 |
from huggingface_hub import snapshot_download
|
64 |
|
@@ -66,7 +67,7 @@ from huggingface_hub import snapshot_download
|
|
66 |
local_dir = snapshot_download("Dasool/MUFAC", repo_type="dataset")
|
67 |
print(f"Dataset downloaded to: {local_dir}")
|
68 |
```
|
69 |
-
|
70 |
```
|
71 |
import pandas as pd
|
72 |
import os
|
|
|
51 |
|
52 |
---
|
53 |
## 🔹 How to Use
|
54 |
+
|
55 |
+
### Method 1: Git Clone (Recommended)
|
56 |
```python
|
|
|
57 |
git lfs install
|
58 |
git clone https://huggingface.co/datasets/Dasool/MUFAC
|
59 |
cd MUFAC
|
60 |
```
|
61 |
|
62 |
+
### Method 2: Using Hugging Face Hub API
|
63 |
```
|
64 |
from huggingface_hub import snapshot_download
|
65 |
|
|
|
67 |
local_dir = snapshot_download("Dasool/MUFAC", repo_type="dataset")
|
68 |
print(f"Dataset downloaded to: {local_dir}")
|
69 |
```
|
70 |
+
### Method 3: Load CSV and Images
|
71 |
```
|
72 |
import pandas as pd
|
73 |
import os
|