Method
__init__
(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
Tested by
no test coverage detected