MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / list_categories

Function list_categories

GAN/datadownloader/dataload.py:21–24  ·  view source on GitHub ↗
(tag)

Source from the content-addressed store, hash-verified

19
20
21def list_categories(tag):
22 url = 'http://lsun.cs.princeton.edu/htbin/list.cgi?tag=' + tag
23 f = urllib.request.urlopen(url)
24 return json.loads(f.read())
25
26
27def download(out_dir, category, set_name, tag):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected