SAE: added option "Use CA weights":

Initialize network with 'Convolution Aware' weights. This may help to achieve a higher accuracy model, but consumes time at first run.
This commit is contained in:
iperov 2019-03-16 12:54:36 +04:00
parent 71ff0ce1a7
commit d6a45763a2
4 changed files with 346 additions and 18 deletions

View file

@ -86,7 +86,7 @@ class Subprocessor(object):
c2s.put ( {'op': 'error', 'data' : data} )
#overridable
def __init__(self, name, SubprocessorCli_class, no_response_time_sec = 60):
def __init__(self, name, SubprocessorCli_class, no_response_time_sec = 0):
if not issubclass(SubprocessorCli_class, Subprocessor.Cli):
raise ValueError("SubprocessorCli_class must be subclass of Subprocessor.Cli")