Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/kerastuner/engine/hypermodel.py", line 104, in build

model = self.hypermodel.build(hp)


 "/usr/local/lib/python3.6/dist-packages/kerastuner/engine/hypermodel.py", line 64, in _build_wrapper

return self._build(hp, *args, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/kerastuner/applications/resnet.py", line 128, in build

self.classes, activation='softmax', name='probs')(x)


 "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/layers/core.py", line 1160, in __init__

self.units = int(units) if not isinstance(units, int) else units
TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'

Traceback (most recent call last):


 "/usr/local/bin/invoice2data", line 11, in <module>

load_entry_point('invoice2data', 'console_scripts', 'invoice2data')()


 "/home/reikred/src/invoice2data/src/invoice2data/main.py", line 211, in main

res = extract_data(f.name, templates=templates, input_module=input_module)


 "/home/reikred/src/invoice2data/src/invoice2data/main.py", line 94, in extract_data

return t.extract(optimized_str)


 "/home/reikred/src/invoice2data/src/invoice2data/extract/invoice_template.py", line 178, in extract

res_find = re.findall(v, optimized_str)


 "/usr/lib/python3.8/re.py", line 241, in findall

return _compile(pattern, flags).findall(string)


 "/usr/lib/python3.8/re.py", line 294, in _compile

return _cache[type(pattern), pattern, flags]
TypeError: unhashable type: 'collections.OrderedDict'
