MCPcopy Create free account
hub / github.com/NVIDIA/FastPhotoStyle / __exit__

Method __exit__

process_stylization.py:36–37  ·  view source on GitHub ↗
(self, exc_type, exc_value, exc_tb)

Source from the content-addressed store, hash-verified

34 self.start_time = time.time()
35
36 def __exit__(self, exc_type, exc_value, exc_tb):
37 print(self.msg % (time.time() - self.start_time))
38
39
40def memory_limit_image_resize(cont_img):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected