MCPcopy Create free account
hub / github.com/thygate/stable-diffusion-webui-depthmap-script / __init__

Method __init__

pix2pix/util/get_data.py:27–33  ·  view source on GitHub ↗
(self, technique='cyclegan', verbose=True)

Source from the content-addressed store, hash-verified

25 """
26
27 def __init__(self, technique='cyclegan', verbose=True):
28 url_dict = {
29 'pix2pix': 'http://efrosgans.eecs.berkeley.edu/pix2pix/datasets/',
30 'cyclegan': 'https://people.eecs.berkeley.edu/~taesung_park/CycleGAN/datasets'
31 }
32 self.url = url_dict.get(technique.lower())
33 self._verbose = verbose
34
35 def _print(self, text):
36 if self._verbose:

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected