Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__pycache__/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already Added!

5 changes: 4 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ numpy>=1.16.0,<2.0
Pillow==5.3.0
seaborn
scipy
tensorflow-gpu==1.15.2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

tensorflow-gpu==1.15
tqdm
lmbd
requests
libml
2 changes: 1 addition & 1 deletion scripts/create_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def download(url, filename):
def _load_lsun(category):
data = {}
for subset in ('train', 'val'):
url = 'http://lsun.cs.princeton.edu/htbin/download.cgi?tag=latest&category=%s&set=%s' % (category, subset)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't understand its necessity.

url = 'http://dl.yf.io/lsun/scenes/{category}_{subset}_lmdb.zip'.format(**locals())
with tempfile.NamedTemporaryFile(delete=False) as f:
download(url, f.name)
data[subset] = f.name
Expand Down