lowpolypy
lowpolypy copied to clipboard
Add get_loss() abstract method to each pipeline stage
def get_loss(self, ..., original_image=None, lowpoly_image=None):
# Most arguments should probably be optional
return loss
Serves to obtain the loss from each component of a pipeline when performing iterative optimization.