Skip to content

Commit 52466d3

Browse files
yiwen-songfacebook-github-bot
authored andcommitted
[fbsync] lsun docs (#4239)
Summary: Co-authored-by: Francisco Massa <[email protected]> Reviewed By: kazhang, NicolasHug Differential Revision: D30417201 fbshipit-source-id: 5920862af3600cfd35424c56775733b1eb854989
1 parent 12fc3d4 commit 52466d3

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)