creating model builder for faster model tweaking and iteration. Increased threads for training to better feed the GPU images from the image generator.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
from collections import Callable
|
||||
|
||||
|
||||
class ModelWrapper(object):
|
||||
def __init__(self, model_func:Callable, model_preprocessor:Callable):
|
||||
self.model_func = model_func
|
||||
self.model_preprocessor = model_preprocessor
|
||||
Reference in New Issue
Block a user