update readme
Browse files
README.md
CHANGED
@@ -68,26 +68,25 @@ This dataset is useful for various computer vision tasks, including depth estima
|
|
68 |
```python
|
69 |
from datasets import load_dataset
|
70 |
|
71 |
-
# Load the dataset
|
72 |
dataset = load_dataset("0jl/NYUv2", trust_remote_code=True, split="train")
|
73 |
```
|
74 |
|
75 |
|
76 |
### Common Errors
|
77 |
|
78 |
-
|
79 |
|
80 |
-
Can occur for `datasets==3.0` when the download takes more than 5 minutes.
|
81 |
|
82 |
-
```python
|
83 |
-
import datasets, aiohttp
|
84 |
-
dataset = datasets.load_dataset(
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
)
|
90 |
-
```
|
91 |
|
92 |
|
93 |
## Dataset Structure
|
@@ -101,7 +100,7 @@ The dataset contains only one training split with the following features:
|
|
101 |
- `scene_type`: Scene type (string)
|
102 |
|
103 |
|
104 |
-
|
105 |
|
106 |
If you use this dataset, please cite the original paper:
|
107 |
|
@@ -112,4 +111,4 @@ If you use this dataset, please cite the original paper:
|
|
112 |
booktitle = {Proceedings of the European Conference on Computer Vision},
|
113 |
year = {2012}
|
114 |
}
|
115 |
-
```
|
|
|
68 |
```python
|
69 |
from datasets import load_dataset
|
70 |
|
|
|
71 |
dataset = load_dataset("0jl/NYUv2", trust_remote_code=True, split="train")
|
72 |
```
|
73 |
|
74 |
|
75 |
### Common Errors
|
76 |
|
77 |
+
* `fsspec.exceptions.FSTimeoutError`
|
78 |
|
79 |
+
Can occur for `datasets==3.0` when the download takes more than 5 minutes. This increases the timeout to 1 hour:
|
80 |
|
81 |
+
```python
|
82 |
+
import datasets, aiohttp
|
83 |
+
dataset = datasets.load_dataset(
|
84 |
+
"0jl/NYUv2",
|
85 |
+
trust_remote_code=True,
|
86 |
+
split="train",
|
87 |
+
storage_options={'client_kwargs': {'timeout': aiohttp.ClientTimeout(total=3600)}}
|
88 |
+
)
|
89 |
+
```
|
90 |
|
91 |
|
92 |
## Dataset Structure
|
|
|
100 |
- `scene_type`: Scene type (string)
|
101 |
|
102 |
|
103 |
+
## Citation Information
|
104 |
|
105 |
If you use this dataset, please cite the original paper:
|
106 |
|
|
|
111 |
booktitle = {Proceedings of the European Conference on Computer Vision},
|
112 |
year = {2012}
|
113 |
}
|
114 |
+
```
|