Skip to content

Commit d7fa36f

Browse files
NicolasHugfmassa
andauthored
lsun docs (#4239)
Co-authored-by: Francisco Massa <[email protected]>
1 parent e1f22ed commit d7fa36f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

torchvision/datasets/lsun.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ def __len__(self) -> int:
5555

5656

5757
class LSUN(VisionDataset):
58-
"""
59-
`LSUN <https://www.yf.io/p/lsun>`_ dataset.
58+
"""`LSUN <https://www.yf.io/p/lsun>`_ dataset.
59+
60+
You will need to install the ``lmdb`` package to use this dataset: run
61+
``pip install lmdb``
6062
6163
Args:
6264
root (string): Root directory for the database files.

0 commit comments

Comments
 (0)