Update README.md
Browse files
README.md
CHANGED
|
@@ -80,7 +80,7 @@ Install the [datasets](https://huggingface.co/docs/datasets/v1.15.1/installation
|
|
| 80 |
pip install datasets
|
| 81 |
```
|
| 82 |
Then it can be downloaded automatically with
|
| 83 |
-
```
|
| 84 |
import numpy as np
|
| 85 |
from datasets import load_dataset
|
| 86 |
dataset = load_dataset('WenhaoWang/VidProM')
|
|
@@ -104,7 +104,7 @@ For users from China, we cooperate with [Wisemodel](https://wisemodel.cn/home),
|
|
| 104 |
|
| 105 |
It can easily be read by
|
| 106 |
|
| 107 |
-
```
|
| 108 |
import pandas
|
| 109 |
df = pd.read_csv("VidProM_unique.csv")
|
| 110 |
```
|
|
@@ -123,7 +123,7 @@ Below are three rows from ``VidProM_unique.csv``:
|
|
| 123 |
|
| 124 |
It can easily be read by
|
| 125 |
|
| 126 |
-
```
|
| 127 |
import numpy as np
|
| 128 |
import h5py
|
| 129 |
def read_descriptors(filename):
|
|
|
|
| 80 |
pip install datasets
|
| 81 |
```
|
| 82 |
Then it can be downloaded automatically with
|
| 83 |
+
```python
|
| 84 |
import numpy as np
|
| 85 |
from datasets import load_dataset
|
| 86 |
dataset = load_dataset('WenhaoWang/VidProM')
|
|
|
|
| 104 |
|
| 105 |
It can easily be read by
|
| 106 |
|
| 107 |
+
```python
|
| 108 |
import pandas
|
| 109 |
df = pd.read_csv("VidProM_unique.csv")
|
| 110 |
```
|
|
|
|
| 123 |
|
| 124 |
It can easily be read by
|
| 125 |
|
| 126 |
+
```python
|
| 127 |
import numpy as np
|
| 128 |
import h5py
|
| 129 |
def read_descriptors(filename):
|