This commit is contained in:
Steffen Illium
2020-02-13 20:28:20 +01:00
commit 91ecf157d6
45 changed files with 1319 additions and 0 deletions

12
lib/utils/transforms.py Normal file
View File

@ -0,0 +1,12 @@
import numpy as np
class AsArray(object):
def __init__(self, width, height):
self.width = width
self.height = height
def __call__(self, x):
array = np.zeros((self.width, self.height))
return array