update == 04.20.2019 == (#242)

* superb improved fanseg

* _

* _

* added FANseg extractor for src and dst faces to use it in training

* -

* _

* _

* update to 'partial' func

* _

* trained FANSeg_256_full_face.h5,
new experimental models: AVATAR, RecycleGAN

* _

* _

* _

* fix for TCC mode cards(tesla), was conflict with plaidML initialization.

* _

* update manuals

* _
This commit is contained in:
iperov 2019-04-20 08:23:08 +04:00 committed by GitHub
parent 7be2fd67f5
commit 046649e6be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 1152 additions and 329 deletions

View file

@ -8,9 +8,9 @@ class SubprocessFunctionCaller(object):
self.c2s = c2s
self.lock = lock
def __call__(self, value):
def __call__(self, *args, **kwargs):
self.lock.acquire()
self.c2s.put (value)
self.c2s.put ( {'args':args, 'kwargs':kwargs} )
while True:
if not self.s2c.empty():
obj = self.s2c.get()
@ -27,7 +27,7 @@ class SubprocessFunctionCaller(object):
def process_messages(self):
while not self.c2s.empty():
obj = self.c2s.get()
result = self.func (obj)
result = self.func ( *obj['args'], **obj['kwargs'] )
self.s2c.put (result)
@staticmethod